right URLs for search subs

This commit is contained in:
Evan Prodromou 2011-09-18 19:20:28 -04:00
parent 0cbb7411a6
commit 822cb1482a

View 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 {