Skip to content

Commit

Permalink
Avoid polluting PHP error logs if position is not byref.
Browse files Browse the repository at this point in the history
  • Loading branch information
JJJ committed Jan 25, 2019
1 parent ac15e80 commit 3df6cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbbc.php
Expand Up @@ -1474,7 +1474,7 @@ function Internal_GenerateOutput($pos) {
$this->Internal_CleanupWSByPoppingStack(@$rule['after_tag'], $output);
$tag_body = $this->Internal_CollectTextReverse($output, count($output)-1, $end);
$this->Internal_CleanupWSByPoppingStack(@$rule['before_tag'], $this->stack);
$this->Internal_UpdateParamsForMissingEndTag(@$token[BBCODE_STACK_TAG]);
@$this->Internal_UpdateParamsForMissingEndTag(@$token[BBCODE_STACK_TAG]);
$tag_output = $this->DoTag(BBCODE_OUTPUT, $name,
@$token[BBCODE_STACK_TAG]['_default'], @$token[BBCODE_STACK_TAG], $tag_body);
$output = Array(Array(
Expand Down

0 comments on commit 3df6cd7

Please sign in to comment.