From f52e3cbf59a7136ffe128844417e3c56bd1e182f Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Fri, 21 Sep 2001 05:47:32 +0000 Subject: [PATCH] no stripslahes() for serialized data --- phpgwapi/inc/class.crypto.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.crypto.inc.php b/phpgwapi/inc/class.crypto.inc.php index 9b3dcea0e3..31e1587c98 100644 --- a/phpgwapi/inc/class.crypto.inc.php +++ b/phpgwapi/inc/class.crypto.inc.php @@ -159,7 +159,6 @@ { $data = $encrypteddata; } - $data = stripslashes($data); if(!strpos(' '.$data,'O:8:"stdClass"')) { @@ -167,6 +166,7 @@ } else { + $data = stripslashes($data); return $data; } }