]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
right URLs for search subs
authorEvan Prodromou <evan@status.net>
Sun, 18 Sep 2011 23:20:28 +0000 (19:20 -0400)
committerEvan Prodromou <evan@status.net>
Sun, 18 Sep 2011 23:20:28 +0000 (19:20 -0400)
plugins/SearchSub/searchsubmenu.php

index 2aabb7a5a6cf0f0cc54e7b2c3b8ea26c34f23a1d..fa5b34942b00694183806c8ef8202636b2692207 100644 (file)
@@ -92,7 +92,7 @@ class SearchSubMenu extends MoreMenu
             $id = $this->menuItemID($actionName, $args);
         }
 
-        if ($actionname == 'searchsub') {
+        if ($actionName == 'noticesearch') {
             // Add 'q' as a search param, not part of the url path
             $url = common_local_url($actionName, array(), $args);
         } else {