diff --git a/install/updates/froxlor/0.10/update_0.10.inc.php b/install/updates/froxlor/0.10/update_0.10.inc.php index de1737b8..1a1da5c5 100644 --- a/install/updates/froxlor/0.10/update_0.10.inc.php +++ b/install/updates/froxlor/0.10/update_0.10.inc.php @@ -395,7 +395,7 @@ if (\Froxlor\Froxlor::isDatabaseVersion('201910110')) { $upd_stmt = Database::prepare("UPDATE `" . TABLE_PANEL_IPSANDPORTS . "` SET `include_specialsettings` = '1' WHERE `id` = :id"); if ($sel_stmt->columnCount() > 0) { showUpdateStep("Adjusting IP/port settings for downward compatibility"); - while ($row = $sel_result->fetch(\PDO::FETCH_ASSOC)) { + while ($row = $sel_stmt->fetch(PDO::FETCH_ASSOC)) { Database::pexecute($upd_stmt, [ 'id' => $row['id'] ]);