-
-
Couldn't load subscription status.
- Fork 714
Closed
Description
Method compileTag2() in http://github.com/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php
includes several merges into a $new_args array. The last such merge omits the array-check included in the others, which causes a crash sometimes. Lines 666 ff. should replicate the other instances in the method:
foreach ($args as $key => $mixed) {
if (is_array($mixed)) {
$new_args = array_merge($new_args, $mixed);
} else {
$new_args[ $key ] = $mixed;
}
} Metadata
Metadata
Assignees
Labels
No labels