We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f53ece commit 5aa0761Copy full SHA for 5aa0761
1 file changed
app/controllers/mainsearch.php
@@ -26,7 +26,9 @@
26
escaped slashes, it gives a 404 instead of going through mod_rewrite
27
see: http://www.leakon.com/archives/865
28
*/
29
- $terms = urlencode(urlencode(Utils::cleanString($_GET['recherche'])));
+ $terms = isset($_GET['recherche'])
30
+ ? urlencode(urlencode(Utils::cleanString($_GET['recherche'])))
31
+ : '';
32
33
$regex = [];
34
$regex['whole'] = isset($_GET['whole_word']) ? 'whole_word=1' : '';
0 commit comments