diff options
author | ctrlaltca@gmail.com <> | 2011-07-16 22:37:30 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-07-16 22:37:30 +0000 |
commit | 920f78939adcdb62f5e6ac9368928bd3a0fa41fc (patch) | |
tree | 041a05cfb0efc62a19ff3d867546c13edc730bae /framework/PradoBase.php | |
parent | 086387ec68df8c39ed2580a55b32f909fd092f18 (diff) |
test patch for #179
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r-- | framework/PradoBase.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/framework/PradoBase.php b/framework/PradoBase.php index 9470a95a..272c479c 100644 --- a/framework/PradoBase.php +++ b/framework/PradoBase.php @@ -199,8 +199,7 @@ class PradoBase */ public static function serialize($data) { - $arr[0]=$data; - return serialize($arr); + return serialize($data); } /** @@ -212,8 +211,7 @@ class PradoBase */ public static function unserialize($str) { - $arr=unserialize($str); - return isset($arr[0])?$arr[0]:null; + return unserialize($str); } /** |