mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 04:41:53 +02:00
#1343 - Fix forum notify checkbox functionality
This commit is contained in:
@@ -1220,7 +1220,7 @@ class forum_post_handler
|
||||
case 'nt':
|
||||
|
||||
$threadInfo['thread_sticky'] = (MODERATOR ? (int)$_POST['threadtype'] : 0);
|
||||
$threadInfo['thread_name'] = $_POST['subject'];
|
||||
$threadInfo['thread_name'] = e107::getParser()->toDB($_POST['subject']);
|
||||
$threadInfo['thread_forum_id'] = $this->id;
|
||||
$threadInfo['thread_active'] = 1;
|
||||
$threadInfo['thread_datestamp'] = $time;
|
||||
@@ -1248,8 +1248,6 @@ class forum_post_handler
|
||||
// $this->data['thread_sef'] = $postResult['threadsef'];
|
||||
$this->data['thread_sef'] = eHelper::title2sef($threadInfo['thread_name'],'dashl');
|
||||
|
||||
|
||||
|
||||
if($_POST['email_notify'])
|
||||
{
|
||||
$this->forumObj->track('add', USERID, $newThreadId);
|
||||
|
Reference in New Issue
Block a user