mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-11 05:28:48 +01:00
fix PHP 5.4 Fatal error: Cannot create references to elements of a temporary array expression
This commit is contained in:
parent
26ccede602
commit
9c8823cde2
@ -659,7 +659,9 @@ class Credentials
|
||||
static function migrate($acc_id)
|
||||
{
|
||||
try {
|
||||
foreach((array)self::$cache[$acc_id] as $account_id => &$rows)
|
||||
if (isset(self::$cache[$acc_id]))
|
||||
{
|
||||
foreach(self::$cache[$acc_id] as $account_id => &$rows)
|
||||
{
|
||||
foreach($rows as $cred_type => &$row)
|
||||
{
|
||||
@ -671,6 +673,7 @@ class Credentials
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(Exception $e) {
|
||||
// do not stall regular use, if password migration fails
|
||||
_egw_log_exception($e);
|
||||
|
Loading…
Reference in New Issue
Block a user