Skip to content
Snippets Groups Projects
Commit 8644407c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #2230 from defrance69/patch-42

Update card.php
parents d45750d9 b6b84e23
No related branches found
No related tags found
No related merge requests found
......@@ -1373,6 +1373,8 @@ else if ($id > 0 || ! empty($ref))
$sql.= ' ft.date as date_intervention';
$sql.= ' FROM '.MAIN_DB_PREFIX.'fichinterdet as ft';
$sql.= ' WHERE ft.fk_fichinter = '.$object->id;
if (!empty($conf->global->FICHINTER_HIDE_EMPTY_DURATION))
$sql.= ' AND ft.duree <> 0';
$sql.= ' ORDER BY ft.rang ASC, ft.rowid';
$resql = $db->query($sql);
......
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