Skip to content

Commit 7c74331

Browse files
[FIX] Certificate: Allow thumbnail without background image
Hashing used the background RID for the thumbnail, so saving a thumbnail without a background image called serialize() on null.
1 parent 826fedd commit 7c74331

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/ILIAS/Certificate/classes/class.ilCertificateGUI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ private function saveCertificate(ilPropertyFormGUI $form, array $form_fields, in
417417
$xslfo,
418418
isset($new_background_rid) ? $new_background_rid->serialize() : '',
419419
$jsonEncodedTemplateValues,
420-
isset($new_tile_rid) ? $new_background_rid->serialize() : ''
420+
isset($new_tile_rid) ? $new_tile_rid->serialize() : ''
421421
])
422422
);
423423

0 commit comments

Comments
 (0)