diff --git a/modules/landingpages/AdminLandingPages.php b/modules/landingpages/AdminLandingPages.php index 66b4807e..9c732a84 100755 --- a/modules/landingpages/AdminLandingPages.php +++ b/modules/landingpages/AdminLandingPages.php @@ -22,6 +22,7 @@ class AdminLandingPages extends AdminTab { VALUES ( DEFAULT, '.(int) (bool) Tools::getValue('enabled').', + '.(int) (bool) Tools::getValue('connect_button').', "'.pSQL(Tools::str2url($name)).'", "'.pSQL(Tools::getValue('text1')).'", "'.pSQL(Tools::getValue('text2')).'", @@ -74,9 +75,10 @@ class AdminLandingPages extends AdminTab { Db::getInstance()->ExecuteS(' UPDATE `'._DB_PREFIX_.'landing_page` SET `enabled` = '.(int) (bool) Tools::getValue('enabled').', + `connect_button` = '.(int) (bool) Tools::getValue('connect_button').', `name` = "'.pSQL(Tools::str2url($name)).'", `text1` = "'.pSQL(Tools::getValue('text1')).'", - `text2` = "'.pSQL(Tools::getValue('text2')).'", + `text2` = "'.pSQL(Tools::getValue('text2')).'", `tag` = "'.pSQL(Tools::getValue('tag'), true).'" WHERE `id_landing_page` = '.$id_landing_page.' '); @@ -147,6 +149,7 @@ class AdminLandingPages extends AdminTab {