Skip to content

Commit

Permalink
не передаем массив элементов по ссылке
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemorroj committed Dec 30, 2013
1 parent 155384c commit 2b0cf8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Xbbcode/Xbbcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -1664,8 +1664,8 @@ public function highlight()
public function getHtml(array $elems = null)
{
$time_start = microtime(true);
if (!is_array($elems)) {
$elems =& $this->getTree();
if (null === $elems) {
$elems = $this->getTree();
}
$result = '';
$lbr = 0;
Expand Down

0 comments on commit 2b0cf8d

Please sign in to comment.