From f803276ca28122deeff1406072885d3f7b5c7bbe Mon Sep 17 00:00:00 2001 From: Timo Stramann <21283057+TimoStramann@users.noreply.github.com> Date: Wed, 16 Oct 2019 00:11:30 +0200 Subject: [PATCH] fixing typo wrong variable name --- install/updates/froxlor/0.10/update_0.10.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] ]);