From 4866478242bf38424e1ce046dc818baa376d07ce Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 29 Nov 2013 00:20:56 +0000 Subject: [PATCH] fix exception in boetemplate::get_array() --- etemplate/inc/class.etemplate_old.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate_old.inc.php b/etemplate/inc/class.etemplate_old.inc.php index 7dc01ad1d4..08632338b0 100644 --- a/etemplate/inc/class.etemplate_old.inc.php +++ b/etemplate/inc/class.etemplate_old.inc.php @@ -1073,7 +1073,7 @@ class etemplate_old extends boetemplate } $form_name = self::form_name($cname,$name); - if (!is_object($name) && (string)$name !== '') + if (!is_object($name) && (string)$name !== '' && is_array($content)) { $value = $this->get_array($content,$name); }