1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 03:54:09 +02:00

PHP notice removal.

This commit is contained in:
Cameron
2016-02-16 10:42:13 -08:00
parent 7bc78d6971
commit 67358e6f9a
2 changed files with 5 additions and 5 deletions

View File

@@ -3839,7 +3839,7 @@ class e_form
$method = $attributes['field']; // prevents table alias in method names. ie. u.my_method.
$_value = $value;
if($attributes['data'] == 'array') // FIXME @SecretR - please move this to where it should be.
if(!empty($attributes['data']) && $attributes['data'] == 'array') // FIXME @SecretR - please move this to where it should be.
{
$value = e107::unserialize($value); // (saved as array, return it as an array)
}