mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
Fix strange bug into crypto api.
Somes "ghost" characters appears
This commit is contained in:
parent
f518db0997
commit
414c78b639
@ -268,6 +268,10 @@
|
||||
$data = $encrypteddata;
|
||||
}
|
||||
|
||||
// Fix strange bug
|
||||
// Without this, somes ^@^@^@^@ appears in data
|
||||
$data = chop($data);
|
||||
|
||||
$newdata = @unserialize($data);
|
||||
if($newdata)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user