quitend warning, if no api translation exists

This commit is contained in:
Ralf Becker 2005-06-17 07:23:24 +00:00
parent b75dfc816d
commit f5956885c1

View File

@ -148,7 +148,7 @@
while(($line = fgets($f)) !== false)
{
list($lang,$language) = explode("\t",trim($line));
if ($lang && ($lf = fopen("../phpgwapi/setup/phpgw_$lang.lang",'r')))
if ($lang && ($lf = @fopen("../phpgwapi/setup/phpgw_$lang.lang",'r')))
{
while(($line = fgets($lf)) !== false)
{