Compare commits
No commits in common. "9c87d47477a59446fd844ee54ace569b9e05438e" and "44ff33120dd075ece83e90339aced2b1b0302e9e" have entirely different histories.
9c87d47477
...
44ff33120d
|
@ -445,7 +445,7 @@ class BindAPI
|
|||
echo COLOR_RED . ' ' . $result['header'] . COLOR_DEFAULT;
|
||||
$arguments = $this->parseArguments();
|
||||
if (!empty($arguments['fix']) && $arguments['fix'] == 'yes') {
|
||||
echo ' trying to fix …';
|
||||
echo 'trying to fix …';
|
||||
$body = [
|
||||
'name' => $domainName,
|
||||
'panel' => $panel->getName(),
|
||||
|
@ -474,10 +474,9 @@ class BindAPI
|
|||
echo $e->getMessage();
|
||||
exit(1);
|
||||
}
|
||||
if ($create['header'] != 201) {
|
||||
print_r(value: $create);
|
||||
if ($create['header'] != 200) {
|
||||
die("make error handling");
|
||||
} else {
|
||||
echo COLOR_GREEN . 'OK';
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -65,7 +65,7 @@ class DomainRepository
|
|||
}
|
||||
|
||||
$sql = "
|
||||
SELECT id, name, panel
|
||||
SELECT id, name, name
|
||||
FROM . " . DatabaseConnection::TABLE_DOMAINS . "
|
||||
WHERE id = :id";
|
||||
|
||||
|
|
Loading…
Reference in New Issue