mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
getAccount now uses the $id value correct
This commit is contained in:
parent
040859b6ab
commit
93e8af0eb4
@ -159,13 +159,14 @@
|
|||||||
{
|
{
|
||||||
$data = $encrypteddata;
|
$data = $encrypteddata;
|
||||||
}
|
}
|
||||||
$data = stripslashes($data);
|
|
||||||
if(!strpos(' '.$data,'O:8:"stdClass"'))
|
if(!strpos(' '.$data,'O:8:"stdClass"'))
|
||||||
{
|
{
|
||||||
return unserialize($data);
|
return unserialize($data);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
$data = stripslashes($data);
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -298,7 +298,7 @@
|
|||||||
$aarr[$a['account_id']] = $this->accountInfo($a['account_id'],$a,$longnames);
|
$aarr[$a['account_id']] = $this->accountInfo($a['account_id'],$a,$longnames);
|
||||||
next($accs);
|
next($accs);
|
||||||
}
|
}
|
||||||
return $this->getArrayItem($name,$selected,$aarr,1);
|
return $this->getArrayItem($name,$id,$aarr,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDate($n_year,$n_month,$n_day,$date)
|
function getDate($n_year,$n_month,$n_day,$date)
|
||||||
|
Loading…
Reference in New Issue
Block a user