1
0
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:
Hannes Magnusson
2009-05-15 11:53:31 +00:00
parent d7b836d648
commit f0fb034bb0

View File

@@ -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; }
}