getAccount now uses the $id value correct

This commit is contained in:
Ralf Becker 2001-07-07 21:30:09 +00:00
parent 040859b6ab
commit 93e8af0eb4
2 changed files with 3 additions and 2 deletions

View File

@ -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;
} }
} }

View File

@ -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)