mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Merge pull request #14332 from nextcloud/bugfix/13098-unsafe-array-access
Fix unsafe array access
This commit is contained in:
commit
9b15470c87
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue