diff --git a/main/install/configuration.dist.php b/main/install/configuration.dist.php index 99a7a060eb..45bc20ccaa 100755 --- a/main/install/configuration.dist.php +++ b/main/install/configuration.dist.php @@ -1327,4 +1327,3 @@ requires extension "php-soap" sudo apt-get install php-soap // You need add a new option called "confirmation" to the registration settings //INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_registration', 'confirmation', 'MailConfirmation'); // ------ (End) Custom DB changes - diff --git a/main/lp/lp_controller.php b/main/lp/lp_controller.php index 02f02e5878..dcec95b7fa 100755 --- a/main/lp/lp_controller.php +++ b/main/lp/lp_controller.php @@ -103,9 +103,6 @@ $htmlHeadXtra[] = ' var jItem = $("#"+ itemId); var index = jItems.index(jItem); var total = jItems.length; - - //console.log("total " + total); - //console.log("current " + index); switch (dir) { case "up": @@ -1193,6 +1190,8 @@ switch ($action) { $hide_toc_frame = null; if (isset($_REQUEST['hide_toc_frame']) && $_REQUEST['hide_toc_frame'] == 1) { $hide_toc_frame = $_REQUEST['hide_toc_frame']; + } else { + $hide_toc_frame = null; } $_SESSION['oLP']->set_hide_toc_frame($hide_toc_frame); $_SESSION['oLP']->set_prerequisite(isset($_POST['prerequisites']) ? (int) $_POST['prerequisites'] : 0); diff --git a/plugin/buycourses/src/buy_course_plugin.class.php b/plugin/buycourses/src/buy_course_plugin.class.php index d9614497be..e61a209413 100644 --- a/plugin/buycourses/src/buy_course_plugin.class.php +++ b/plugin/buycourses/src/buy_course_plugin.class.php @@ -573,9 +573,9 @@ class BuyCoursesPlugin extends Plugin * * @param int $start * @param int $end - * @param string $name Optional. The name filter - * @param int $min Optional. The minimum price filter - * @param int $max Optional. The maximum price filter + * @param string $name Optional. The name filter + * @param int $min Optional. The minimum price filter + * @param int $max Optional. The maximum price filter * * @return array */ @@ -2837,9 +2837,9 @@ class BuyCoursesPlugin extends Plugin * * @param int $start * @param int $end - * @param string $name Optional. The name filter - * @param int $min Optional. The minimun price filter - * @param int $max Optional. The maximum price filter + * @param string $name Optional. The name filter + * @param int $min Optional. The minimun price filter + * @param int $max Optional. The maximum price filter * * @return array */