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'])) {