Use default value if none defined.

This commit is contained in:
Laurent Destailleur 2010-04-05 23:34:10 +00:00
parent e3ec84d202
commit 8a10f4801b

View File

@ -157,8 +157,9 @@ function project_pdf_create($db, $comid, $modele,$outputlangs)
}
else
{
print $langs->trans("Error")." ".$langs->trans("Error_PROJECT_ADDON_PDF_NotDefined");
return 0;
$modele='baleine';
//print $langs->trans("Error")." ".$langs->trans("Error_PROJECT_ADDON_PDF_NotDefined");
//return 0;
}
}