Fix compatibility php 5.5-
This commit is contained in:
parent
ce470b8dd5
commit
75452e6d19
@ -1908,7 +1908,7 @@ if (! function_exists("llxFooter"))
|
|||||||
{
|
{
|
||||||
if (empty($val['sortfield'])) unset($val['sortfield']);
|
if (empty($val['sortfield'])) unset($val['sortfield']);
|
||||||
if (empty($val['sortorder'])) unset($val['sortorder']);
|
if (empty($val['sortorder'])) unset($val['sortorder']);
|
||||||
dol_syslog('Save lastsearch_values_tmp_'.$key.'='.json_encode($val, 0, 1)." (systematic recording of last search criteria)");
|
dol_syslog('Save lastsearch_values_tmp_'.$key.'='.json_encode($val, 0)." (systematic recording of last search criteria)");
|
||||||
$_SESSION['lastsearch_values_tmp_'.$key]=json_encode($val);
|
$_SESSION['lastsearch_values_tmp_'.$key]=json_encode($val);
|
||||||
unset($_SESSION['lastsearch_values_'.$key]);
|
unset($_SESSION['lastsearch_values_'.$key]);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user