diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-02-22 12:52:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-22 12:52:36 +0100 |
commit | 9b15470c87b4c8d28866f42170bf1f03be49d942 (patch) | |
tree | 819072fcc45bd4e409900e9cdaa476f411d790cd | |
parent | ce3534e428a91ab80f558905de46851b5ef013f0 (diff) | |
parent | 268c0d97bf42d135b5b9db6c7d515fad0b434a86 (diff) | |
download | nextcloud-server-9b15470c87b4c8d28866f42170bf1f03be49d942.tar.gz nextcloud-server-9b15470c87b4c8d28866f42170bf1f03be49d942.zip |
Merge pull request #14332 from nextcloud/bugfix/13098-unsafe-array-access
Fix unsafe array access
-rw-r--r-- | apps/admin_audit/lib/Actions/Console.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/admin_audit/lib/Actions/Console.php b/apps/admin_audit/lib/Actions/Console.php index 8b25f9b3860..9279e6f30c8 100644 --- a/apps/admin_audit/lib/Actions/Console.php +++ b/apps/admin_audit/lib/Actions/Console.php @@ -30,7 +30,7 @@ class Console extends Action { * @param $arguments */ public function runCommand(array $arguments) { - if ($arguments[1] === '_completion') { + if (!isset($arguments[1]) || $arguments[1] === '_completion') { // Don't log autocompletion return; } |