]> git.mxchange.org Git - friendica.git/blobdiff - mod/dirfind.php
Merge pull request #1165 from annando/1409-issue-1157
[friendica.git] / mod / dirfind.php
index 34c54dd9185877b23fbf5a00b55cc7860c22bc84..5c5d0e933ac5856444811e4479409f4cdcbbd93e 100644 (file)
@@ -17,6 +17,9 @@ function dirfind_init(&$a) {
 function dirfind_content(&$a) {
 
        $search = notags(trim($_REQUEST['search']));
+
+       if(strpos($search,'@') === 0)
+               $search = substr($search,1);
        
        $o = '';