suppressed an error-msg

This commit is contained in:
Ralf Becker 2002-09-17 14:35:43 +00:00
parent 9286ba944f
commit 5f99e6de5c

View File

@ -227,7 +227,7 @@
}
$file .= '.xul';
if (!is_readable($file) || !($f = fopen($file,'r')))
if ($this->name == '' || $app == '' || $name == '' || !is_readable($file) || !($f = fopen($file,'r')))
{
//echo "<p>Can't open '$file' !!!</p>\n";
return False;