1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-30 23:59:54 +02:00

Bugtracker #3986 - allow to 'un-notify'

This commit is contained in:
e107steved 2007-08-14 19:31:12 +00:00
parent 2806e27c6b
commit 7d5e7716bc

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $
| $Revision: 1.10 $ | $Revision: 1.11 $
| $Date: 2007-07-18 19:50:45 $ | $Date: 2007-08-14 19:31:04 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@ -341,10 +341,7 @@ if (isset($_POST['update_thread']))
$newvals['thread_edit_datestamp'] = time(); $newvals['thread_edit_datestamp'] = time();
$newvals['thread_thread'] = $_POST['post']; $newvals['thread_thread'] = $_POST['post'];
$newvals['thread_name'] = $_POST['subject']; $newvals['thread_name'] = $_POST['subject'];
if(isset($_POST['email_notify'])) $newvals['thread_active'] = (isset($_POST['email_notify'])) ? '99' : '1'; // Always set in case it's changed
{
$newvals['thread_active'] = '99';
}
if (isset($_POST['threadtype']) && MODERATOR) if (isset($_POST['threadtype']) && MODERATOR)
{ {
$newvals['thread_s'] = $_POST['threadtype']; $newvals['thread_s'] = $_POST['threadtype'];