Skip to content
Snippets Groups Projects
Commit 13f91a64 authored by Marcos García de La Fuente's avatar Marcos García de La Fuente
Browse files

Fixed syntax error problem

parent e97a8410
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment