Skip to content
Browse files

More consistency when printing editing stuff in section

  • Loading branch information...
1 parent 6af88ac commit a44d18e70e3215bc81ed4df347e0caf9267cede2 moodler committed Jan 2, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
2 course/lib.php
@@ -491,7 +491,7 @@ function print_section_block($heading, $course, $section, $mods, $modnames, $mod
$moddata[] = "<a title=\"$mod->modfullname\" href=\"$CFG->wwwroot/mod/$mod->modname/view.php?id=$mod->id\">$instancename</a><BR>$editbuttons";
}
}
- if (isediting($course->id)) {
+ if ($isediting) {
$editmenu = popup_form("$CFG->wwwroot/course/mod.php?id=$course->id&section=0&add=",
$modnames, "section0", "", get_string("add")."...", "mods", get_string("activities"), true);
$editmenu = "<DIV ALIGN=right>$editmenu</DIV>";

0 comments on commit a44d18e

Please sign in to comment.
Something went wrong with that request. Please try again.