Enable course protection script - refs #7370

1.9.x
Imanol Losada 11 years ago
parent 2fa39544aa
commit 5fe3e21d0a
  1. 2
      plugin/buycourses/src/configuration.php

@ -21,7 +21,7 @@ $interbreadcrumb[] = array("url" => "paymentsetup.php", "name" => get_lang('Conf
$tpl = new Template($templateName);
$teacher = api_is_platform_admin();
//api_protect_course_script(true);
api_protect_course_script(true);
if ($teacher) {
// sync course table with the plugin

Loading…
Cancel
Save