mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Forum plugin - Now correctly updates threadtype (sticky, announcement, normal) after updating OP
This commit is contained in:
@@ -991,6 +991,7 @@ class forum_post_handler
|
||||
$postVals['post_entry'] = $_POST['post'];
|
||||
|
||||
$threadVals['thread_name'] = $_POST['subject'];
|
||||
$threadVals['thread_sticky'] = (MODERATOR ? (int)$_POST['threadtype'] : 0);
|
||||
|
||||
$this->forumObj->threadUpdate($this->data['post_thread'], $threadVals);
|
||||
$this->forumObj->postUpdate($this->data['post_id'], $postVals);
|
||||
|
Reference in New Issue
Block a user