From: Paul Hänsch Date: Sun, 7 Apr 2024 15:00:54 +0000 (+0200) Subject: bugfix query processing X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=6e3173e44ef8bdfa48a787a0349a86dfd2499f4c;p=shellwiki bugfix query processing --- diff --git a/macros/search b/macros/search index f72fd0b..3951e97 100755 --- a/macros/search +++ b/macros/search @@ -41,7 +41,7 @@ while [ $# -gt 0 ]; do case $1 in *) set -- "$@" "$1"; shift 1;; esac; done -[ $@ -gt 0 ] && query="$*" || query="$(GET q)" +[ $# -gt 0 ] && query="$*" || query="$(GET q)" searchteaser() { local file="$1" words db3_data