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:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user