]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from 1.6. Fix for Bug #5767 - Section links block is removed from
authorvyshane <vyshane>
Tue, 13 Jun 2006 07:50:02 +0000 (07:50 +0000)
committervyshane <vyshane>
Tue, 13 Jun 2006 07:50:02 +0000 (07:50 +0000)
course view after settings update.

blocks/section_links/block_section_links.php

index f48ecfc050455dcd8952011a69da7d5ae00236f1..c7b73cb3e4e35cd02885e1d52b2774602879697b 100644 (file)
@@ -22,7 +22,7 @@ class block_section_links extends block_base {
     }
 
     function applicable_formats() {
-        return (array('course-view-weeks' => true, 'course-view-topics' => true));
+        return (array('course-view-weeks' => true, 'course-view-topics' => true, 'course-edit-weeks' => true, 'course-edit-topics' => true));
     }
 
     function get_content() {