diff options
Diffstat (limited to 'search.php')
| -rw-r--r-- | search.php | 3 | 
1 files changed, 2 insertions, 1 deletions
@@ -43,7 +43,8 @@ if (POST_TERMS != '') {  	$currentUserId = $userservice->getCurrentUserId(); -	$exploded = explode('/', $_SERVER['PATH_INFO']); +	$exploded = isset($_SERVER['PATH_INFO']) +		? explode('/', $_SERVER['PATH_INFO']) : null;  	if(count($exploded) == 4) {  		list($url, $range, $terms, $page) = $exploded;  	} else if (count($exploded) == 2) {  | 
