mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-18 05:20:43 +01:00
fix: Avoid warning on file id explode
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
parent
149e43faf6
commit
e170b53b82
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class Helper {
|
|||
}
|
||||
|
||||
if (str_contains($fileId, '-')) {
|
||||
[$fileId, $templateId] = explode('/', $fileId);
|
||||
[$fileId, $templateId] = array_pad(explode('/', $fileId), 2, null);
|
||||
}
|
||||
|
||||
return [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue