Sfoglia il codice sorgente

Update Forum\Delete

Visman 3 anni fa
parent
commit
b2b45a62a4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);