Compare commits

..

No commits in common. "9c87d47477a59446fd844ee54ace569b9e05438e" and "44ff33120dd075ece83e90339aced2b1b0302e9e" have entirely different histories.

2 changed files with 4 additions and 5 deletions

View File

@ -474,10 +474,9 @@ class BindAPI
echo $e->getMessage(); echo $e->getMessage();
exit(1); exit(1);
} }
if ($create['header'] != 201) { print_r(value: $create);
if ($create['header'] != 200) {
die("make error handling"); die("make error handling");
} else {
echo COLOR_GREEN . 'OK';
} }
} }
break; break;

View File

@ -65,7 +65,7 @@ class DomainRepository
} }
$sql = " $sql = "
SELECT id, name, panel SELECT id, name, name
FROM . " . DatabaseConnection::TABLE_DOMAINS . " FROM . " . DatabaseConnection::TABLE_DOMAINS . "
WHERE id = :id"; WHERE id = :id";