Skip to content

Commit

Permalink
[BUGFIX] Fix test service for insecure extensions (#81)
Browse files Browse the repository at this point in the history
The review state "-2" is for outdated extensions and should not be considered when checking for insecure extensions.
  • Loading branch information
TehTux committed Aug 4, 2020
1 parent 32c9e2e commit 03c4bbc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -209,7 +209,7 @@ public function checkExtension($extension, &$errors, &$warnings)
// Ext is in TER
if (is_array($ter_info)) {
// Ext is reviewed as secure or not reviewed at all
if ($ter_info['reviewstate'] > -1) {
if ($ter_info['reviewstate'] != -1) {
return array(0, '');
}

Expand Down

0 comments on commit 03c4bbc

Please sign in to comment.