Adds a link to edit search callouts if belong to search group 3, a=chris
Adds a link to edit search callouts if belong to search group 3, a=chris
diff --git a/src/views/elements/SearchcalloutElement.php b/src/views/elements/SearchcalloutElement.php
index e6df88360..0ef897d9c 100644
--- a/src/views/elements/SearchcalloutElement.php
+++ b/src/views/elements/SearchcalloutElement.php
@@ -55,7 +55,7 @@ class SearchcalloutElement extends Element
<div class="search-callout"><?php
if ($logged_in && $belongs_search_group) {
$edit_url = B\wikiUrl(preg_replace("/-|\s/u", "_",
- mb_strtolowr($data['QUERY'])), true, "group",
+ mb_strtolower($data['QUERY'])), true, "group",
C\SEARCH_GROUP_ID) .
$token_string . "&noredirect=true&arg=edit";
$this->view->helper("iconlink")->renderButton($edit_url, "edit",