Fix search. re #73
This commit is contained in:
parent
30d3730464
commit
6b8846e02b
2
base.php
2
base.php
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue