(really) fix PHP notice #2048 Only variables should be passed by reference, thx to baudetail
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -940,7 +940,8 @@ if ($page == 'customers'
|
|||||||
WHERE `id` = :defaultip
|
WHERE `id` = :defaultip
|
||||||
");
|
");
|
||||||
$default_ips = Settings::Get('system.defaultip');
|
$default_ips = Settings::Get('system.defaultip');
|
||||||
$srv_ip = Database::pexecute_first($srv_ip_stmt, array('defaultip' => reset(explode(',', $default_ips))));
|
$default_ips = explode(',', $default_ips);
|
||||||
|
$srv_ip = Database::pexecute_first($srv_ip_stmt, array('defaultip' => reset($default_ips)));
|
||||||
|
|
||||||
$replace_arr = array(
|
$replace_arr = array(
|
||||||
'FIRSTNAME' => $firstname,
|
'FIRSTNAME' => $firstname,
|
||||||
|
|||||||
Reference in New Issue
Block a user