1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 00:27:45 +02:00

PHP Notice fixes.

This commit is contained in:
Cameron
2016-02-13 12:57:34 -08:00
parent e8c1b055fe
commit 1ceabc69f3
5 changed files with 41 additions and 7 deletions

View File

@@ -2044,7 +2044,7 @@ class e_front_model extends e_model
{
$d = $this->getDataFields();
if($d[$key] == 'array')
if(!empty($d[$key]) && ($d[$key] == 'array'))
{
return e107::unserialize($this->getData((string) $key, $default, $index));
}