Skip to content

Commit

Permalink
Fix return method
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-john committed Jul 4, 2017
1 parent a5cfd7c commit e1ae97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/contrat/class/contrat.class.php
Expand Up @@ -228,7 +228,7 @@ function getNextNumRef($soc)
*/
function active_line($user, $line_id, $date, $date_end='', $comment='')
{
$this->lines[$this->lines_id_index_mapper[$line_id]]->active_line($user, $date, $date_end, $comment);
return $this->lines[$this->lines_id_index_mapper[$line_id]]->active_line($user, $date, $date_end, $comment);
}


Expand All @@ -243,7 +243,7 @@ function active_line($user, $line_id, $date, $date_end='', $comment='')
*/
function close_line($user, $line_id, $date_end, $comment='')
{
$this->lines[$this->lines_id_index_mapper[$line_id]]->close_line($user, $date_end, $comment);
return $this->lines[$this->lines_id_index_mapper[$line_id]]->close_line($user, $date_end, $comment);
}


Expand Down

0 comments on commit e1ae97e

Please sign in to comment.