mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Forum plugin - Now correctly updates threadtype (sticky, announcement, normal) after updating OP
This commit is contained in:
@@ -990,7 +990,8 @@ class forum_post_handler
|
||||
$postVals['post_edit_user'] = USERID;
|
||||
$postVals['post_entry'] = $_POST['post'];
|
||||
|
||||
$threadVals['thread_name'] = $_POST['subject'];
|
||||
$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