Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Jan 10, 2025
1 parent f977084 commit 9cb4b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/update/database/4.16.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Retrieve all 'deleted' hosts
*/
$deletedHosts = [];
$result = $hostsDb->exec("SELECT Id FROM hosts WHERE Status = 'deleted'");
$result = $hostsDb->query("SELECT Id FROM hosts WHERE Status = 'deleted'");

while ($row = $result->fetchArray(SQLITE3_ASSOC)) {
$deletedHosts[] = $row['Id'];
Expand Down

0 comments on commit 9cb4b59

Please sign in to comment.