summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 315e35da8..eb43bb13f 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -27,7 +27,8 @@ function act_dispatch(){
$ACT = act_clean($ACT);
//check if searchword was given - else just show
- if($ACT == 'search' && empty($QUERY)){
+ $s = cleanID($QUERY);
+ if($ACT == 'search' && empty($s)){
$ACT = 'show';
}