Merge pull request #2230 from defrance69/patch-42

Update card.php
This commit is contained in:
Laurent Destailleur 2015-01-18 13:44:35 +01:00
commit 8644407c0a

View File

@ -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);