summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
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);
}
/**