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

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

@ -104,9 +104,6 @@ $htmlHeadXtra[] = '
var index = jItems.index(jItem);
var total = jItems.length;
//console.log("total " + total);
//console.log("current " + index);
switch (dir) {
case "up":
if (index != 0 && jItems[index - 1]) {
@ -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);

Loading…
Cancel
Save