oopsie
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Mon, 27 Dec 2004 15:38:38 +0000 (15:38 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:26:53 +0000 (23:26 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-146

include/notifs.inc.php

index 5f7da36..0457461 100644 (file)
@@ -51,7 +51,7 @@ function getNbNotifs() {
         return 0;
     }
     $uid       = Session::getInt('uid', -1);
-    $watchlast = Session::getInt('watch_last');
+    $watchlast = Session::get('watch_last');
 
     $res = $globals->db->query("
     (