Skip to content

Commit

Permalink
Fix Notice on mod_menu (#10452)
Browse files Browse the repository at this point in the history
* Fix notice on mod_menu

Notice: Only variables should be passed by reference in
C:\wamp\www\develop\administrator\modules\mod_menu\tmpl\default_enabled.php
on line 23

* fix codestyle

* second try
  • Loading branch information
810 authored and roland-d committed May 25, 2016
1 parent e149047 commit 06d7a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions administrator/modules/mod_menu/menu.php
Expand Up @@ -49,12 +49,12 @@ public function __construct()
/**
* Method to add a child
*
* @param JMenuNode &$node The node to process
* @param JMenuNode $node The node to process
* @param boolean $setCurrent True to set as current working node
*
* @return void
*/
public function addChild(JMenuNode &$node, $setCurrent = false)
public function addChild(JMenuNode $node, $setCurrent = false)
{
$this->_current->addChild($node);

Expand Down

0 comments on commit 06d7a14

Please sign in to comment.