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