Minor - format code

pull/2487/head
jmontoyaa 9 years ago
parent 72ef2374ac
commit 46437cd8db
  1. 4
      main/coursecopy/copy_course.php

@ -50,7 +50,7 @@ if (Security::check_token('post') && (
Security::clear_token(); Security::clear_token();
if (isset($_POST['action']) && $_POST['action'] == 'course_select_form') { if (isset($_POST['action']) && $_POST['action'] == 'course_select_form') {
$course = CourseSelectForm :: get_posted_course('copy_course'); $course = CourseSelectForm::get_posted_course('copy_course');
} else { } else {
$cb = new CourseBuilder(); $cb = new CourseBuilder();
$course = $cb->build(); $course = $cb->build();
@ -65,7 +65,7 @@ if (Security::check_token('post') && (
false false
); );
} elseif (Security::check_token('post') && ( } elseif (Security::check_token('post') && (
isset ($_POST['copy_option']) && isset($_POST['copy_option']) &&
$_POST['copy_option'] == 'select_items' $_POST['copy_option'] == 'select_items'
) )
) { ) {

Loading…
Cancel
Save