diff --git a/library/includes/bbcode.php b/library/includes/bbcode.php index adda1a992..8ed6e7577 100644 --- a/library/includes/bbcode.php +++ b/library/includes/bbcode.php @@ -256,7 +256,7 @@ function strip_quotes($text) if ($stacksize == 0) { $newtext .= substr($text, $substr_pos, $pos - $substr_pos); } - array_push($stack, $pos); + $stack[] = $pos; } else { // pop off the latest opened tag if ($stacksize) { diff --git a/library/includes/template.php b/library/includes/template.php index bcde7748a..45395a134 100644 --- a/library/includes/template.php +++ b/library/includes/template.php @@ -907,7 +907,7 @@ class template break; case '(': - array_push($is_arg_stack, $i); + $is_arg_stack[] = $i; break; case 'is':