Adds a link to edit search callouts if belong to search group 3, a=chris

Chris Pollett [2022-07-13 00:Jul:th]
Adds a link to edit search callouts if belong to search group 3, a=chris
Filename
src/views/elements/SearchcalloutElement.php
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 . "&amp;noredirect=true&amp;arg=edit";
                 $this->view->helper("iconlink")->renderButton($edit_url, "edit",
ViewGit