Minor - flint fixes

pull/2999/head
Julio Montoya 6 years ago
parent 7748f3d5bb
commit b19a9ab106
  1. 1
      main/install/configuration.dist.php
  2. 5
      main/lp/lp_controller.php
  3. 12
      plugin/buycourses/src/buy_course_plugin.class.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

@ -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);

@ -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
*/

Loading…
Cancel
Save