From d30acf4e00ead8f2378a01ef2cf01368e7bb2a44 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Tue, 16 Sep 2014 14:32:49 +0200 Subject: Fix a bug for mark as read before 1 day/week Current output was not remembered. --- app/layout/nav_menu.phtml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index a997a7d54..2a09b0c12 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -208,19 +208,21 @@
  • today; - $one_week = $today - 604800; + $mark_before_today = $arUrl; + $mark_before_today['params']['idMax'] = $this->today . '000000'; + $mark_before_one_week = $arUrl; + $mark_before_one_week['params']['idMax'] = ($this->today - 604800) . '000000'; ?>
  • -- cgit v1.2.3