From 95ab01f99f05fd37b5844e09982a397bf92ddb91 Mon Sep 17 00:00:00 2001 From: "uwe.tews@googlemail.com" Date: Wed, 21 Sep 2011 22:54:08 +0000 Subject: [PATCH] remove unneeded error suppression --- libs/sysplugins/smarty_internal_data.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/sysplugins/smarty_internal_data.php b/libs/sysplugins/smarty_internal_data.php index 0c40f540..321493ed 100644 --- a/libs/sysplugins/smarty_internal_data.php +++ b/libs/sysplugins/smarty_internal_data.php @@ -174,8 +174,7 @@ class Smarty_Internal_Data { if (!isset($this->tpl_vars[$tpl_var])) { $this->tpl_vars[$tpl_var] = new Smarty_variable(); } - // FIXME u.tews what's this @silence doing here? - if (!@is_array($this->tpl_vars[$tpl_var]->value)) { + if (!is_array($this->tpl_vars[$tpl_var]->value)) { settype($this->tpl_vars[$tpl_var]->value, 'array'); } if ($merge && is_array($value)) {