Fix search. re #73

This commit is contained in:
Sébastien Lucas 2013-06-21 08:38:02 +02:00
parent 30d3730464
commit 6b8846e02b

View file

@ -11,7 +11,7 @@ define ("DB", "db");
date_default_timezone_set($config['default_timezone']); date_default_timezone_set($config['default_timezone']);
function getURLParam ($name, $default = NULL) { function getURLParam ($name, $default = NULL) {
if (!empty ($_GET) && isset($_GET[$name])) { if (!empty ($_GET) && isset($_GET[$name]) && $_GET[$name] != "") {
return $_GET[$name]; return $_GET[$name];
} }
return $default; return $default;