Skip to content

Commit

Permalink
Call-time pass-by-reference has been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed Dec 16, 2014
1 parent 3b80c54 commit 72cd9e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/cms/component/router/advanced.php
Expand Up @@ -234,7 +234,7 @@ public function preprocess($query)
// Process the parsed variables based on custom defined rules
foreach ($this->rules as $rule)
{
$rule->preprocess(&$query);
$rule->preprocess($query);
}
return $query;
}
Expand All @@ -253,7 +253,7 @@ public function build(&$query)
// Process the parsed variables based on custom defined rules
foreach ($this->rules as $rule)
{
$rule->build(&$query, &$segments);
$rule->build($query, $segments);
}
return $segments;
}
Expand All @@ -272,7 +272,7 @@ public function parse(&$segments)
// Process the parsed variables based on custom defined rules
foreach ($this->rules as $rule)
{
$rule->parse(&$segments, &$vars);
$rule->parse($segments, $vars);
}
return $vars;
}
Expand Down

0 comments on commit 72cd9e0

Please sign in to comment.