]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
args argument must be array for menu item
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 25 Oct 2014 18:58:58 +0000 (20:58 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 25 Oct 2014 18:58:58 +0000 (20:58 +0200)
lib/homestubnav.php

index e9f4ba23088fc238aa32fcea1bd65f1a11e68f95..7dd6ae19a1a1d703af160a6efc1e1032be90e5b0 100644 (file)
@@ -50,7 +50,7 @@ class HomeStubNav extends Menu
     function getItems()
     {
         return array(array('top',
-                           null,
+                           array(),
                            // TRANS: Menu item in personal group navigation menu.
                            _m('MENU','Home'),
                            // TRANS: Menu item title in personal group navigation menu.