diff --git a/libs/sysplugins/smarty_internal_compilebase.php b/libs/sysplugins/smarty_internal_compilebase.php index 08aab6f4e..cfb179d4f 100644 --- a/libs/sysplugins/smarty_internal_compilebase.php +++ b/libs/sysplugins/smarty_internal_compilebase.php @@ -86,8 +86,9 @@ public function getAttributes($compiler, $attributes) } elseif (isset($this->shorttag_order[ $key ])) { $_indexed_attr[ $this->shorttag_order[ $key ] ] = $mixed; } else { - // too many shorthands - $compiler->trigger_template_error('too many shorthand attributes', null, true); + // Allow too many shorthands + $_indexed_attr[] = $mixed; + //$compiler->trigger_template_error('too many shorthand attributes', null, true); } // named attribute } else {