@@ -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_admin_script(true);
if ($teacher) {
// sync course table with the plugin
@@ -18,7 +18,7 @@ $interbreadcrumb[] = array("url" => "configuration.php", "name" => $plugin->get_
// Sync course table with the plugin
@@ -19,7 +19,7 @@ $interbreadcrumb[] = array("url" => "paymentsetup.php", "name" => $plugin->get_l
$tpl = new Template($tableName);
$pendingList = pendingList($_SESSION['bc_codetext']);