diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-02-21 20:45:13 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-02-22 11:53:27 +0000 |
commit | 9caf7bbd47cdf67762f03cb8a5dcdac674e759fc (patch) | |
tree | 72855373204004089ebfdd6df40d4790d531ed8c | |
parent | b879d28f24af00d5b13455d579e7e60565596f93 (diff) | |
download | nextcloud-server-9caf7bbd47cdf67762f03cb8a5dcdac674e759fc.tar.gz nextcloud-server-9caf7bbd47cdf67762f03cb8a5dcdac674e759fc.zip |
Check if array element is present before access
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-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; } |