mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Fix for banner params not saving in PHP7
This commit is contained in:
@@ -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)
|
if($check)
|
||||||
{
|
{
|
||||||
@@ -881,6 +881,7 @@ class e_menuManager {
|
|||||||
}
|
}
|
||||||
elseif(false === $check)
|
elseif(false === $check)
|
||||||
{
|
{
|
||||||
|
|
||||||
return array('msg'=>LAN_UPDATED_FAILED,'error'=>true);
|
return array('msg'=>LAN_UPDATED_FAILED,'error'=>true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user