From 60740973d7fedd48df963d45dc117c3285628ef9 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 16 Feb 2016 21:13:52 +0100 Subject: [PATCH] Fix update process from Froxlor version 0.9.28-svn1 A typo in the name of a local variable prevented database updates. Fix also an unrelated whitespace issue in an empty code line. Signed-off-by: Stefan Weil --- install/updates/froxlor/0.9/update_0.9.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/updates/froxlor/0.9/update_0.9.inc.php b/install/updates/froxlor/0.9/update_0.9.inc.php index 5f5e209a..44705dbe 100644 --- a/install/updates/froxlor/0.9/update_0.9.inc.php +++ b/install/updates/froxlor/0.9/update_0.9.inc.php @@ -1897,7 +1897,7 @@ if (isFroxlorVersion('0.9.28-svn1')) { $handle = Database::query("SELECT `language` FROM `panel_languages` WHERE `iso`='foo'"); - while ($langauge = $handle->fetch(PDO::FETCH_ASSOC)) { + while ($language = $handle->fetch(PDO::FETCH_ASSOC)) { switch ($language) { case "Deutsch": Database::query("UPDATE `panel_languages` SET `iso`='de' WHERE `language` = 'Deutsch'"); @@ -3062,7 +3062,7 @@ if (isFroxlorVersion('0.9.35-dev1')) { } if (isFroxlorVersion('0.9.35-dev2')) { - + showUpdateStep("Updating from 0.9.35-dev2 to 0.9.35-dev3"); Database::query("ALTER TABLE `".TABLE_PANEL_DOMAINS."` ADD `termination_date` date NOT NULL AFTER `registration_date`"); lastStepStatus(0);