Fix: error set on non object

This commit is contained in:
Laurent Destailleur 2013-01-17 14:36:08 +01:00
parent b158758e7c
commit 9d5b36b27b

View File

@ -357,7 +357,6 @@ foreach ($dirmodels as $reldir)
// Info
$htmltooltip='';
$htmltooltip.=''.$langs->trans("Version").': <b>'.$module->getVersion().'</b><br>';
$facture->type=0;
$nextval=$module->getNextValue($mysoc,$commande);
if ("$nextval" != $langs->trans("NotAvailable")) // Keep " on nextval
{