summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authoruwe.tews@googlemail.com <uwe.tews@googlemail.com>2011-09-21 22:54:08 +0000
committeruwe.tews@googlemail.com <uwe.tews@googlemail.com>2011-09-21 22:54:08 +0000
commit95ab01f99f05fd37b5844e09982a397bf92ddb91 (patch)
tree8ed08db69641f0e0c6e60ab25f2ab7d5417b74c2 /libs
parent985b575e975213506223ab45a57aacd6718fe1ac (diff)
downloadsmarty-95ab01f99f05fd37b5844e09982a397bf92ddb91.tar.gz
smarty-95ab01f99f05fd37b5844e09982a397bf92ddb91.tar.bz2
smarty-95ab01f99f05fd37b5844e09982a397bf92ddb91.zip
remove unneeded error suppression
Diffstat (limited to 'libs')
-rw-r--r--libs/sysplugins/smarty_internal_data.php3
1 files changed, 1 insertions, 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)) {