mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
Notice and Error removal.
This commit is contained in:
@@ -224,7 +224,7 @@ class e_chart
|
||||
* @param array $data
|
||||
* @param string $id of canvas element
|
||||
*/
|
||||
public function setData($data,$id)
|
||||
public function setData($data)
|
||||
{
|
||||
$this->id = $id;
|
||||
if($data == 'demo')
|
||||
|
@@ -1450,6 +1450,11 @@ class e107
|
||||
*/
|
||||
public static function serialize($ArrayData, $AddSlashes = false)
|
||||
{
|
||||
if(empty($ArrayData))
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
return self::getArrayStorage()->serialize($ArrayData, $AddSlashes);
|
||||
}
|
||||
|
||||
@@ -1461,6 +1466,11 @@ class e107
|
||||
*/
|
||||
public static function unserialize($ArrayData)
|
||||
{
|
||||
if(empty($ArrayData))
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
return self::getArrayStorage()->unserialize($ArrayData);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user