From 34e38396ea48457f8fd632153742f1ee1b0cbc1f Mon Sep 17 00:00:00 2001 From: e107steved Date: Sat, 22 Sep 2007 18:08:31 +0000 Subject: [PATCH] Bugtracker #3900 - don't show email box for guests who can post --- e107_plugins/forum/forum_post_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/forum/forum_post_shortcodes.php b/e107_plugins/forum/forum_post_shortcodes.php index ad1dfd1c5..f4daa9dee 100644 --- a/e107_plugins/forum/forum_post_shortcodes.php +++ b/e107_plugins/forum/forum_post_shortcodes.php @@ -122,7 +122,7 @@ SC_END SC_BEGIN EMAILNOTIFY global $pref, $thread_info, $action; -if ($pref['email_notify'] && $action == "nt") +if ($pref['email_notify'] && $action == "nt" && USER) { if(isset($_POST['fpreview'])) {