mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
set a "default value" for the url fallback choice (patch by kalle)
This commit is contained in:
@@ -101,7 +101,7 @@ function myphpnet_urlsearch($type = FALSE)
|
||||
}
|
||||
|
||||
// Return code or NONE
|
||||
elseif (isset($MYPHPNET[1])) {
|
||||
elseif (isset($MYPHPNET[1]) && !empty($MYPHPNET[1])) {
|
||||
return $MYPHPNET[1];
|
||||
} else { return MYPHPNET_URL_NONE; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user