fix: Avoid warning on file id explode

Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
Julius Knorr 2025-02-05 13:14:55 +01:00
parent 149e43faf6
commit e170b53b82

View file

@ -40,7 +40,7 @@ class Helper {
}
if (str_contains($fileId, '-')) {
[$fileId, $templateId] = explode('/', $fileId);
[$fileId, $templateId] = array_pad(explode('/', $fileId), 2, null);
}
return [