diff --git a/htdocs/comm/action/rapport/index.php b/htdocs/comm/action/rapport/index.php
index 48f5f892883..9459373f15b 100644
--- a/htdocs/comm/action/rapport/index.php
+++ b/htdocs/comm/action/rapport/index.php
@@ -63,7 +63,7 @@ if ($_GET["action"] == 'builddoc')
/*
- * Affichage liste
+ * View
*/
llxHeader();
@@ -85,6 +85,7 @@ $sql.= " ORDER BY year DESC, month DESC, df DESC";
$sql.= $db->plimit($limit+1,$offset);
//print $sql;
+dol_syslog("select sql=".$sql);
$resql=$db->query($sql);
if ($resql)
{
@@ -92,6 +93,8 @@ if ($resql)
print_barre_liste($langs->trans("DoneActions"), $page, "index.php",'',$sortfield,$sortorder,'',$num);
+ if ($mesg) print $mesg.'
';
+
$i = 0;
print '
| $obj->df | \n"; + print "".$obj->df." | \n"; print ''.$obj->cc.' | '; print ''; @@ -140,7 +143,7 @@ if ($resql) $i++; } print " |