diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index 8f66146acb0..d2650b8d2ff 100644
--- a/htdocs/comm/fiche.php
+++ b/htdocs/comm/fiche.php
@@ -651,6 +651,7 @@ if ($_socid > 0)
{
$i = 0 ;
$num = $db->num_rows($result);
+ $var=true;
while ($i < $num)
{
@@ -661,28 +662,26 @@ if ($_socid > 0)
if ($oldyear == strftime("%Y",$obj->da) )
{
- //print '
| | ';
- print "" .strftime("%Y",$obj->da)." | \n";
+ print ''.strftime("%Y",$obj->da)." | \n";
}
else
{
- print "" .strftime("%Y",$obj->da)." | \n";
+ print ''.strftime("%Y",$obj->da)." | \n";
$oldyear = strftime("%Y",$obj->da);
}
if ($oldmonth == strftime("%Y%b",$obj->da) )
{
- //print '| | ';
- print "" .strftime("%b",$obj->da)." | \n";
+ print '' .strftime("%b",$obj->da)." | \n";
}
else
{
- print "" .strftime("%b",$obj->da)." | \n";
+ print '' .strftime("%b",$obj->da)." | \n";
$oldmonth = strftime("%Y%b",$obj->da);
}
- print "" .strftime("%d",$obj->da)." | \n";
- print "" .strftime("%H:%M",$obj->da)." | \n";
+ print ''.strftime("%d",$obj->da)." | \n";
+ print ''.strftime("%H:%M",$obj->da)." | \n";
print ' | ';