summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-07-16 22:37:30 +0000
committerctrlaltca@gmail.com <>2011-07-16 22:37:30 +0000
commit920f78939adcdb62f5e6ac9368928bd3a0fa41fc (patch)
tree041a05cfb0efc62a19ff3d867546c13edc730bae /framework/PradoBase.php
parent086387ec68df8c39ed2580a55b32f909fd092f18 (diff)
test patch for #179
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r--framework/PradoBase.php6
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);
}
/**