Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
Fix: Only variables should be passed by reference
Browse files Browse the repository at this point in the history
  • Loading branch information
justnx committed Sep 17, 2013
1 parent 06d29e2 commit 096c9ce
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions app/www/admin/src/class.XMLNavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ class XMLNavigation extends Core
*
* @var object
*/
private $DB;

/**
* Crumb separator
*
* @var object
*/
private $DB;

/**
* Crumb separator
*
* @var object
*/
private $CrumbSeparator;

/**
Expand All @@ -99,9 +99,9 @@ function __construct($search = false)
$this->XML->loadXML("<?xml version=\"1.0\" encoding=\"UTF-8\"?><menu></menu>");
$this->XML->formatOutput = true;

$this->XPath = new DOMXPath($this->XML);

// Default separator
$this->XPath = new DOMXPath($this->XML);

// Default separator
$this->CrumbSeparator = "&nbsp;&raquo;&nbsp;";
}

Expand All @@ -111,7 +111,7 @@ function __construct($search = false)
* @param DOMNode $DOMPart
* @param DOMNode $menu_part
*/
public function AddNode($DOMPart, &$menu_part)
public function AddNode($DOMPart, $menu_part)
{
foreach ($DOMPart->childNodes as $node)
{
Expand Down Expand Up @@ -278,7 +278,7 @@ public function AppendNodesFromArray($nodes, $parentid)
* @access protected
* @return void
*/
protected function GetNodes(&$root)
protected function GetNodes($root)
{
foreach ($root->childNodes as $node)
{
Expand Down

0 comments on commit 096c9ce

Please sign in to comment.