Skip to content

Commit

Permalink
Plugin BuyCourses: Fix missing confirmation message BT#18422
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Feb 15, 2021
1 parent ca76bf9 commit d7a7ed0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/buycourses/src/index.buycourses.php
@@ -1,10 +1,9 @@
<?php

/* For license terms, see /license.txt */

/**
* Index of the Buy Courses plugin courses list.
*
* @package chamilo.plugin.buycourses
*/
$plugin = BuyCoursesPlugin::create();
$allow = $plugin->get('unregistered_users_enable');
Expand All @@ -15,5 +14,6 @@
$tpl = new Template();
$content = $tpl->fetch('buycourses/view/index.tpl');
$tpl->assign('content', $content);
$tpl->display_one_col_template();
//$tpl->display_one_col_template();
$tpl->display($tpl->get_template('layout/layout_1_col.tpl'), false);
}

0 comments on commit d7a7ed0

Please sign in to comment.