Ver Fonte

Fix Duplicate entry for markread

Visman há 2 anos atrás
pai
commit
a225cd5638
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Models/Forum/Markread.php

+ 1 - 1
app/Models/Forum/Markread.php

@@ -61,7 +61,7 @@ class Markread extends Action
 
             $this->c->DB->exec($query, $vars);
 
-            if ($user->mf_mark_all_read) {                                           // ????
+            if ($forum->mf_mark_all_read) {                                           // ????
                 $query = 'UPDATE ::mark_of_forum
                     SET mf_mark_all_read=?i:mark
                     WHERE uid=?i:uid AND fid=?i:fid';