Fix undefined $plugin

1.9.x
Mickael Desgranges 10 years ago
parent 8297cfdda8
commit 6969f638d9
  1. 1
      plugin/buycourses/src/process_confirm.php

@ -130,6 +130,7 @@ if ($_POST['payment_type'] == "PayPal") {
if ($_POST['payment_type'] == "Transfer") {
$_cid = 0;
$plugin = BuyCoursesPlugin::create();
$templateName = $plugin->get_lang('PaymentMethods');
$interbreadcrumb[] = array("url" => "list.php", "name" => $plugin->get_lang('CourseListOnSale'));

Loading…
Cancel
Save