diff --git a/htdocs/index.php b/htdocs/index.php
index 04e91b5110d..54b818954d4 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -294,7 +294,7 @@ if (empty($user->societe_id))
$text=$langs->trans($titres[$key]);
print '';
print '';
- print img_object("",$icons[$key]).' '.$text.'
';
+ print ''.img_object("",$icons[$key]).' '.$text.'
';
print ''.$board->nb[$val].'';
print '
';
print '';
diff --git a/htdocs/projet/activity/perday.php b/htdocs/projet/activity/perday.php
index f41d585a6b8..ddcae068381 100644
--- a/htdocs/projet/activity/perday.php
+++ b/htdocs/projet/activity/perday.php
@@ -87,8 +87,10 @@ if (GETPOST('submitdateselect'))
}
-if ($action == 'assign')
+if ($action == 'addtime' && GETPOST('assigntask'))
{
+ $action = 'assigntask';
+
if ($taskid > 0)
{
$result = $object->fetch($taskid, $ref);
@@ -322,7 +324,24 @@ print "\n";
*/
-print '
'.$nav.'
';
+// Add a new project/task
+//print '
';
+//print '