diff options
| author | Rami Jasim <minecraftmrgold@gmail.com> | 2024-10-28 09:16:40 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-10-28 13:11:19 +0100 |
| commit | 450e562b85eedc86c9f493a13be14523e3ce650a (patch) | |
| tree | 455fb55756d8610d7110c46fbd99f41962878ab6 /lib/models/Courseware/Block.php | |
| parent | aad12a858ce4d2858f25f465e3561d3575a19c3a (diff) | |
PHP8 TypeError for additional_fields set in SORM
Closes #4761
Merge request studip/studip!3550
Diffstat (limited to 'lib/models/Courseware/Block.php')
| -rw-r--r-- | lib/models/Courseware/Block.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/models/Courseware/Block.php b/lib/models/Courseware/Block.php index 8b3d6f4..a3d7f09 100644 --- a/lib/models/Courseware/Block.php +++ b/lib/models/Courseware/Block.php @@ -99,7 +99,6 @@ class Block extends \SimpleORMap implements \PrivacyObject 'get' => function ($block) { return BlockTypes\BlockType::factory($block); }, - 'set' => false, ]; $config['additional_fields']['files'] = [ @@ -285,6 +284,6 @@ class Block extends \SimpleORMap implements \PrivacyObject if ($blocks) { $storage->addTabularData(_('Courseware Blöcke'), 'cw_blocks', $blocks); } - + } } |
