X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/b04f76050d54c67844d5d4026993f6fab0edeae5..f73f2c6c223577ad3cc6e14c0e6ff1567c910eae:/widget/search.php?ds=sidebyside diff --git a/widget/search.php b/widget/search.php index 6c5788e..fe3b54e 100644 --- a/widget/search.php +++ b/widget/search.php @@ -1,7 +1,7 @@ place['limit'] ?: 10; $path = ' '.escapeshellarg('*.html'); -$query = @$_REQUEST['q'] ?: $Page->path ?: $Page->handler; +$query = @$_REQUEST['q'] ?: $Page->place[0] ?? $Page->link; if (!trim($query, '/')) return;