mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
Fix strange bugs.
Somes "ghost" characters appears
This commit is contained in:
parent
35010c30bb
commit
3bc6615523
@ -268,6 +268,10 @@
|
|||||||
$data = $encrypteddata;
|
$data = $encrypteddata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fix strange bug
|
||||||
|
// Without this, somes ^@^@^@^@ appears in data
|
||||||
|
$data = chop($data);
|
||||||
|
|
||||||
$newdata = @unserialize($data);
|
$newdata = @unserialize($data);
|
||||||
if($newdata)
|
if($newdata)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user