mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
remove unneeded error suppression
This commit is contained in:
@@ -174,8 +174,7 @@ class Smarty_Internal_Data {
|
|||||||
if (!isset($this->tpl_vars[$tpl_var])) {
|
if (!isset($this->tpl_vars[$tpl_var])) {
|
||||||
$this->tpl_vars[$tpl_var] = new Smarty_variable();
|
$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');
|
settype($this->tpl_vars[$tpl_var]->value, 'array');
|
||||||
}
|
}
|
||||||
if ($merge && is_array($value)) {
|
if ($merge && is_array($value)) {
|
||||||
|
Reference in New Issue
Block a user