forked from Wavyzz/dolibarr
Merge branch 'oop-pdf' of github.com:marcosgdf/dolibarr into
marcosgdf-oop-pdf Conflicts: htdocs/projet/class/project.class.php
This commit is contained in:
@@ -159,7 +159,7 @@ if ($action == 'builddoc' && $user->rights->projet->creer)
|
||||
$outputlangs = new Translate("",$conf);
|
||||
$outputlangs->setDefaultLang(GETPOST('lang_id'));
|
||||
}
|
||||
$result=task_pdf_create($db, $object, $object->modelpdf, $outputlangs);
|
||||
$result= $object->generateDocument($object->modelpdf, $outputlangs);
|
||||
if ($result <= 0)
|
||||
{
|
||||
dol_print_error($db,$result);
|
||||
|
||||
Reference in New Issue
Block a user