aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-05-31 13:05:32 +0200
committerMario Vavti <mario@mariovavti.com>2018-05-31 13:05:32 +0200
commitcbaaa1c57ffed0b0a11a7d4cf9a492c26e577194 (patch)
tree020b83c4ce7c0fd6a3d59941c5a989d7ff846385 /Zotlabs/Module/Channel.php
parent6bfc5aa96c44d3a16962242d0ef02ccfa879ab7b (diff)
downloadvolse-hubzilla-cbaaa1c57ffed0b0a11a7d4cf9a492c26e577194.tar.gz
volse-hubzilla-cbaaa1c57ffed0b0a11a7d4cf9a492c26e577194.tar.bz2
volse-hubzilla-cbaaa1c57ffed0b0a11a7d4cf9a492c26e577194.zip
merge groups and filed posts into activity filters
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r--Zotlabs/Module/Channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index c2e464470..6969b6226 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -18,7 +18,7 @@ class Channel extends \Zotlabs\Web\Controller {
function init() {
- if(strpos($_GET['search'], '@') === 0 || strpos($_GET['search'], '!') === 0 || strpos($_GET['search'], '?') === 0)
+ if(in_array(substr($_GET['search'],0,1),[ '@', '!', '?']))
goaway('search' . '?f=&search=' . $_GET['search']);
$which = null;