Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 21, 2017
1 parent b48f501 commit fe724a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/core/modules/project/doc/pdf_baleine.modules.php
Expand Up @@ -154,11 +154,11 @@ function write_file($object,$outputlangs)
$task = new Task($this->db);
$tasksarray = $task->getTasksArray(0,0,$object->id);

if (! $object->id > 0) // Special case when used with object = specimen, we may return all lines
if (! $object->id > 0) // Special case when used with object = specimen, we may return all lines
{
$tasksarray=array_slice($tasksarray, 0, min(5, count($tasksarray)));
}

$object->lines=$tasksarray;
$nblignes=count($object->lines);

Expand Down Expand Up @@ -329,7 +329,7 @@ function write_file($object,$outputlangs)
if (! empty($conf->global->MAIN_UMASK))
@chmod($file, octdec($conf->global->MAIN_UMASK));

$ this->result = array('fullpath'=>$file);
$this->result = array('fullpath'=>$file);

return 1; // Pas d'erreur
}
Expand Down

0 comments on commit fe724a2

Please sign in to comment.