mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fixing some PHP deprecated filling the install log
This commit is contained in:
parent
a4ee20b3ee
commit
d3c4e868c4
@ -1630,7 +1630,7 @@ class Session
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$query[] = $prefix.'='.urlencode($values);
|
$query[] = $prefix.'='.urlencode($values ?? '');
|
||||||
}
|
}
|
||||||
return $query;
|
return $query;
|
||||||
}
|
}
|
||||||
|
@ -291,9 +291,9 @@ class Base
|
|||||||
// setting default user, passwd and domain, if it's not contained int the url
|
// setting default user, passwd and domain, if it's not contained int the url
|
||||||
$defaults = array(
|
$defaults = array(
|
||||||
'user' => $GLOBALS['egw_info']['user']['account_lid'],
|
'user' => $GLOBALS['egw_info']['user']['account_lid'],
|
||||||
'pass' => urlencode($GLOBALS['egw_info']['user']['passwd']),
|
'pass' => urlencode($GLOBALS['egw_info']['user']['passwd'] ?? ''),
|
||||||
'host' => $GLOBALS['egw_info']['user']['domain'],
|
'host' => $GLOBALS['egw_info']['user']['domain'],
|
||||||
'home' => str_replace(array('\\\\', '\\'), array('', '/'), $GLOBALS['egw_info']['user']['homedirectory']),
|
'home' => str_replace(array('\\\\', '\\'), array('', '/'), $GLOBALS['egw_info']['user']['homedirectory'] ?? ''),
|
||||||
);
|
);
|
||||||
$parts = array_merge(Vfs::parse_url($_path), Vfs::parse_url($path) ?: [], $defaults);
|
$parts = array_merge(Vfs::parse_url($_path), Vfs::parse_url($path) ?: [], $defaults);
|
||||||
if(!$parts['host'])
|
if(!$parts['host'])
|
||||||
|
Loading…
Reference in New Issue
Block a user