Skip to content

Commit

Permalink
Fix: Notice fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed Apr 1, 2020
1 parent 856e81e commit 6904bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cleantalk/cleantalkMod.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function cleantalk_sfw_check()
{
global $modSettings, $language, $user_info;

if ($user_info['is_admin'])
if (isset($user_info) && $user_info['is_admin'])
return;
// Remote calls
if(isset($_GET['spbc_remote_call_token'], $_GET['spbc_remote_call_action'], $_GET['plugin_name']) && in_array($_GET['plugin_name'], array('antispam','anti-spam', 'apbct'))){
Expand Down

0 comments on commit 6904bf9

Please sign in to comment.