浏览代码

Update Forum\Delete

Visman 3 年之前
父节点
当前提交
b2b45a62a4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Models/Forum/Delete.php

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

@@ -80,7 +80,7 @@ class Delete extends Action
             $this->c->DB->exec($query, $vars);
 
             $query = 'UPDATE ::forums
-                SET last_poster_id=1
+                SET last_poster_id=0
                 WHERE last_poster_id IN (?ai:users)';
 
             $this->c->DB->exec($query, $vars);