mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +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,10 +733,15 @@
|
||||
// return stripslashes($data);
|
||||
// Changed by milosch 2001 Dec 20
|
||||
// do not stripslashes here unless this proves to be a problem.
|
||||
// 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
|
||||
{
|
||||
$GLOBALS['phpgw']->db->query("SELECT content FROM phpgw_app_sessions WHERE "
|
||||
|
Loading…
Reference in New Issue
Block a user