From 920f78939adcdb62f5e6ac9368928bd3a0fa41fc Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 16 Jul 2011 22:37:30 +0000 Subject: test patch for #179 --- framework/PradoBase.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'framework/PradoBase.php') 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); } /** -- cgit v1.2.3