Fixed syntax error problem

This commit is contained in:
Marcos García de La Fuente 2014-09-21 19:07:01 +02:00
parent e97a84102b
commit 13f91a645c

View File

@ -1598,7 +1598,7 @@ else if ($id || $ref)
// Build document if it not exists
if (! $file || ! is_readable($file))
{
$result = $object->generateDocument(GETPOST('model')?GETPOST('model'):$object->modelpdf, $outputlangs, $hidedetails, $hidedesc, $hideref));
$result = $object->generateDocument(GETPOST('model')?GETPOST('model'):$object->modelpdf, $outputlangs, $hidedetails, $hidedesc, $hideref);
if ($result <= 0)
{
dol_print_error($db,$result);