diff options
| author | Rasmus Fuhse <fuhse@data-quest.de> | 2023-02-10 08:22:48 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-02-10 08:22:48 +0000 |
| commit | 74658534080290b03b3d9ccf622b7f8789eb126b (patch) | |
| tree | d0818d8b5bc66b9ebe9311c12f515c38752085fa /lib/models/Courseware/Unit.php | |
| parent | 218fd2a4452e1214f0254ac6fbf1dca1c6f78118 (diff) | |
Resolve "Fehler bei Migration CreateCwUnitsTable"
Closes #2144
Merge request studip/studip!1386
Diffstat (limited to 'lib/models/Courseware/Unit.php')
| -rw-r--r-- | lib/models/Courseware/Unit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/Courseware/Unit.php b/lib/models/Courseware/Unit.php index 4dc1eeb..5782d11 100644 --- a/lib/models/Courseware/Unit.php +++ b/lib/models/Courseware/Unit.php @@ -99,8 +99,8 @@ class Unit extends \SimpleORMap 'content_type' => 'courseware', 'creator_id' => $user->id, 'public' => '', - 'release_date' => '', - 'withdraw_date' => '', + 'release_date' => null, + 'withdraw_date' => null, ]); $newUnit->store(); |
