This commit is contained in:
Regis Houssin 2006-05-05 15:48:06 +00:00
parent 7909909ce0
commit 31597eb73e
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ if(is_dir($dir))
print $name;
print "</td><td>\n";
require_once($dir.$file);
$obj = new $classname();
$obj = new $classname($db);
print $obj->description;
print '</td>';

View File

@ -45,7 +45,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
\brief Constructeur
\param db Handler accès base de donnée
*/
function pdf_typhon($db=0)
function pdf_typhon($db)
{
global $conf,$langs;