From 7d5e7716bca96a23f0f6b3a2fa6774f689538488 Mon Sep 17 00:00:00 2001 From: e107steved Date: Tue, 14 Aug 2007 19:31:12 +0000 Subject: [PATCH] Bugtracker #3986 - allow to 'un-notify' --- e107_plugins/forum/forum_post.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/e107_plugins/forum/forum_post.php b/e107_plugins/forum/forum_post.php index c40d428d7..7bbd2ec22 100644 --- a/e107_plugins/forum/forum_post.php +++ b/e107_plugins/forum/forum_post.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $ -| $Revision: 1.10 $ -| $Date: 2007-07-18 19:50:45 $ +| $Revision: 1.11 $ +| $Date: 2007-08-14 19:31:04 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -341,10 +341,7 @@ if (isset($_POST['update_thread'])) $newvals['thread_edit_datestamp'] = time(); $newvals['thread_thread'] = $_POST['post']; $newvals['thread_name'] = $_POST['subject']; - if(isset($_POST['email_notify'])) - { - $newvals['thread_active'] = '99'; - } + $newvals['thread_active'] = (isset($_POST['email_notify'])) ? '99' : '1'; // Always set in case it's changed if (isset($_POST['threadtype']) && MODERATOR) { $newvals['thread_s'] = $_POST['threadtype'];