We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa4d896 + 7802d57 commit 3299ad4Copy full SHA for 3299ad4
interface/web/tools/resync.php
@@ -182,7 +182,7 @@ private function server_has_data($type, $server) {
182
//* firewall
183
$array_out = array();
184
foreach($server_data as $db_table => $data) {
185
- $sql = @(isset($data['server_id']))?"SELECT * FROM ?? WHERE server_id = ":"SELECT * FROM ??";
+ $sql = @(isset($data['server_id']))?"SELECT * FROM ?? WHERE server_id = ?":"SELECT * FROM ??";
186
$records = $app->db->queryAllRecords($sql, $db_table, $server_id);
187
if (!empty($records)) array_push($array_out, $db_table);
188
}
0 commit comments