Fix: Suppression warnings

This commit is contained in:
Laurent Destailleur 2008-01-25 17:52:06 +00:00
parent b16ea058b6
commit 3e7a7862f7

View File

@ -203,7 +203,7 @@ class Translate {
$key=trim($tab[0]); $value='';
//print "Domain=$domain, found a string for $tab[0] with value $tab[1]<br>";
//if (! $this->getTransFromTab($key))
if (! $this->tab_translate[$key] && isset($tab[1]))
if (empty($this->tab_translate[$key]) && isset($tab[1]))
{
$value=trim(ereg_replace('\\\n',"\n",$tab[1]));