When I tried the occ/bulk endpoint I saw that the server got PHP
[Thu Feb 18 10:59:15 2021] Undefined index: env_variables at /home/phil/git/owncloud/core/apps-external/testing/lib/Occ.php#134
[Thu Feb 18 10:59:15 2021] array_merge(): Expected parameter 2 to be an array, null given at /home/phil/git/owncloud/core/apps-external/testing/lib/Occ.php#76
refactor the code so that $reqEnvVars is always passed as an array to runCommand
Description
When I tried the
occ/bulk
endpoint I saw that the server got PHP$reqEnvVars
is always passed as an array torunCommand
Checklist: