summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 114bdad9d..b1e755cd3 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -302,7 +302,7 @@ function html_search(){
flush();
//check if search is restricted to namespace
- if(preg_match('/([^@]*)@([^@]*)/',$QUERY,$match)) {
+ if(preg_match('/@([^@]*)/',$QUERY,$match)) {
$id = cleanID($match[1]);
if(empty($id)) {
print '<div class="nothing">'.$lang['nothingfound'].'</div>';