DockerController: also fix warning in the web interface
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
b3f931f2cf
commit
0d4081ab13
@ -64,7 +64,7 @@ readonly class DockerController {
|
|||||||
{
|
{
|
||||||
$requestParams = $request->getQueryParams();
|
$requestParams = $request->getQueryParams();
|
||||||
$id = '';
|
$id = '';
|
||||||
if (is_string($requestParams['id'])) {
|
if (isset($requestParams['id']) && is_string($requestParams['id'])) {
|
||||||
$id = $requestParams['id'];
|
$id = $requestParams['id'];
|
||||||
}
|
}
|
||||||
if (str_starts_with($id, 'nextcloud-aio-')) {
|
if (str_starts_with($id, 'nextcloud-aio-')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user