mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 18:31:37 +02: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);
|
// return stripslashes($data);
|
||||||
// Changed by milosch 2001 Dec 20
|
// Changed by milosch 2001 Dec 20
|
||||||
// do not stripslashes here unless this proves to be a problem.
|
// do not stripslashes here unless this proves to be a problem.
|
||||||
$data = $GLOBALS['phpgw']->common->decrypt($data);
|
// Changed by milosch 2001 Dec 25
|
||||||
//echo 'appsession returning: '; _debug_array($data);
|
// do not decrypt and return if no data (decrypt returning garbage)
|
||||||
return $data;
|
if($data)
|
||||||
|
{
|
||||||
|
$data = $GLOBALS['phpgw']->common->decrypt($data);
|
||||||
|
//echo 'appsession returning: '; _debug_array($data);
|
||||||
|
return $data;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user