1
0
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:
Moc
2015-06-17 19:43:37 +02:00
parent 24a82eaaef
commit 95e645d7d1

View File

@@ -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);