1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 05:07:27 +02:00

Bugtracker #3900 - don't show email box for guests who can post

This commit is contained in:
e107steved
2007-09-22 18:08:31 +00:00
parent 7e00c71835
commit 34e38396ea

View File

@@ -122,7 +122,7 @@ SC_END
SC_BEGIN EMAILNOTIFY SC_BEGIN EMAILNOTIFY
global $pref, $thread_info, $action; global $pref, $thread_info, $action;
if ($pref['email_notify'] && $action == "nt") if ($pref['email_notify'] && $action == "nt" && USER)
{ {
if(isset($_POST['fpreview'])) if(isset($_POST['fpreview']))
{ {