Fix strange bugs.

Somes "ghost" characters appears
This commit is contained in:
bgigon 2004-09-30 12:21:08 +00:00
parent 35010c30bb
commit 3bc6615523

View File

@ -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)
{ {