mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Do not decrypt and return if no data in db (decrypt returning garbage)
This commit is contained in:
parent
c84ba29fd4
commit
816b7e2d47
@ -733,9 +733,14 @@
|
||||
// return stripslashes($data);
|
||||
// Changed by milosch 2001 Dec 20
|
||||
// do not stripslashes here unless this proves to be a problem.
|
||||
$data = $GLOBALS['phpgw']->common->decrypt($data);
|
||||
//echo 'appsession returning: '; _debug_array($data);
|
||||
return $data;
|
||||
// Changed by milosch 2001 Dec 25
|
||||
// do not decrypt and return if no data (decrypt returning garbage)
|
||||
if($data)
|
||||
{
|
||||
$data = $GLOBALS['phpgw']->common->decrypt($data);
|
||||
//echo 'appsession returning: '; _debug_array($data);
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user