diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 1159e8ed1..9e3cf1ba1 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -588,7 +588,7 @@ class PluginHost { function lookup_command(string $command) { $command = "-" . strtolower($command); - if (array_key_exists($command, $this->commands) && is_array($this->commands[$command])) { + if (array_key_exists($command, $this->commands)) { return $this->commands[$command]["class"]; } else { return false;