Can get the number of notification.
[platal.git] / modules / carnet.php
index 7cd9320..7afc6bc 100644 (file)
@@ -201,14 +201,14 @@ class CarnetModule extends PLModule
             S::assert_xsrf_token();
             XDB::execute('UPDATE  watch
                              SET  ' . XDB::changeFlag('flags', 'contacts', Env::b('contacts')) . '
-                               WHERE  uid = {?}', S::i('uid'));
+                           WHERE  uid = {?}', S::i('uid'));
         }
 
         if (Env::has('flags_mail')) {
             S::assert_xsrf_token();
             XDB::execute('UPDATE  watch
                              SET  ' . XDB::changeFlag('flags', 'mail', Env::b('mail')) . '
-                               WHERE  uid = {?}', S::i('uid'));
+                           WHERE  uid = {?}', S::i('uid'));
         }
 
         $user = S::user();