From 6904bf94bac7788968b3b1f346fa806174667569 Mon Sep 17 00:00:00 2001 From: Viktor Date: Wed, 1 Apr 2020 09:37:39 +0300 Subject: [PATCH] Fix: Notice fixed. --- cleantalk/cleantalkMod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleantalk/cleantalkMod.php b/cleantalk/cleantalkMod.php index 465900a..87f7d0c 100644 --- a/cleantalk/cleantalkMod.php +++ b/cleantalk/cleantalkMod.php @@ -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'))){