Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/reviewNotice.yml
#	inc/spbc-scanner.php
#	inc/spbc-settings.php
#	lib/CleantalkSP/Common/Scanner/HeuristicAnalyser/HeuristicAnalyser.php
#	lib/CleantalkSP/SpbctWP/Firewall/FW.php
#	lib/CleantalkSP/SpbctWP/Scanner/ScannerQueue.php
#	readme.txt
#	security-malware-firewall.php
  • Loading branch information
Glomberg committed Sep 11, 2023
2 parents 4080438 + e09cb4a commit 6c77b8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function analyse(Variables $variables)
$encoder = new Encoder();
$detected_unreadable_variables = [];
foreach ( $variable_names as $variable ) {
if ( empty($variables_obj[$variable]) ) {
if ( ! isset($variables_obj[$variable][0]) ) {
continue;
}
if ( strpos($variable, '_') === 0 || strlen($variable) < 5 ) {
Expand Down

0 comments on commit 6c77b8f

Please sign in to comment.