mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-29 23:10:08 +00:00
fix check if array key is set
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@@ -250,7 +250,7 @@ readonly class ContainerDefinitionFetcher {
|
||||
}
|
||||
|
||||
$enableNvidiaGpu = false;
|
||||
if (is_bool($entry['enable_nvidia_gpu'])) {
|
||||
if (isset($entry['enable_nvidia_gpu'])) {
|
||||
$enableNvidiaGpu = $entry['enable_nvidia_gpu'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user