Fix wrong variable name

pull/2487/head
jmontoyaa 9 years ago
parent d2f6ad1317
commit 4e1bb0806f
  1. 2
      main/install/install.lib.php
  2. 1
      main/install/update-files-1.10.0-1.11.0.inc.php

@ -3065,7 +3065,7 @@ function migrateSwitch($fromVersion, $manager, $processFiles = true)
$sessionId
);
$courseInfo = api_get_course_info_by_id($courseId);
if (empty($item_info)) {
if (empty($itemInfo)) {
api_item_property_update(
$courseInfo,
'work',

@ -41,7 +41,6 @@ if (defined('SYSTEM_INSTALLATION')) {
if ($debug) {
error_log('Folders cleaned up');
}
} else {
echo 'You are not allowed here !'. __FILE__;
}

Loading…
Cancel
Save