diff --git a/libs/sysplugins/smarty_internal_compilebase.php b/libs/sysplugins/smarty_internal_compilebase.php index 2a32e4373..eda6537c4 100644 --- a/libs/sysplugins/smarty_internal_compilebase.php +++ b/libs/sysplugins/smarty_internal_compilebase.php @@ -86,8 +86,7 @@ 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); + $_indexed_attr[$key] = $mixed; } // named attribute } else {