1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Fix for banner params not saving in PHP7

This commit is contained in:
Cameron
2016-02-28 10:44:03 -08:00
parent 17b1f844a7
commit 5ff03b26b5

View File

@@ -870,7 +870,7 @@ class e_menuManager {
}
}
$check = $sql->update("menus", "menu_parms='".$parms."' WHERE menu_id=".$id."");
$check = $sql->update("menus", "menu_parms=\"".$parms."\" WHERE menu_id=".$id."");
if($check)
{
@@ -881,6 +881,7 @@ class e_menuManager {
}
elseif(false === $check)
{
return array('msg'=>LAN_UPDATED_FAILED,'error'=>true);
}