// Translate the URL status
function translateSurfbarUrlStatus ($status) {
// NULL must be handled carfefully
- if (is_null($status)) {
+ if ((is_null($status)) || (trim($status) == '')) {
// Is NULL, so return other language string
return '{--SURFBAR_URL_STATUS_NONE--}';
} else {