mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Bugtracker #3900 - don't show email box for guests who can post
This commit is contained in:
@@ -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']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user