diff options
| author | Finn Schneider <schneider@data-quest.de> | 2025-10-17 15:15:29 +0200 |
|---|---|---|
| committer | Finn Schneider <schneider@data-quest.de> | 2025-10-17 15:15:29 +0200 |
| commit | cdc7417bcacbcbd29d820624ac5d30516f290040 (patch) | |
| tree | 2de802ca6ca9e7b18f6c1e0630da414c0db3bd24 /app/controllers/course | |
| parent | b76b39d11cf47eb33e2208829b41ea934d33d1af (diff) | |
fix reviewissue-4409
Diffstat (limited to 'app/controllers/course')
| -rw-r--r-- | app/controllers/course/wiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/course/wiki.php b/app/controllers/course/wiki.php index fc5bf48..084cb25 100644 --- a/app/controllers/course/wiki.php +++ b/app/controllers/course/wiki.php @@ -655,7 +655,7 @@ class Course_WikiController extends AuthenticatedController '`page_id` = :page_id AND `user_id` = :user_id', $pageData ); - if ($page->preliminary === 1) { + if ($page->preliminary == 1) { $page->delete(); $this->redirect($this->allpagesURL()); } else { |
