Sfoglia il codice sorgente

Fix wrong variable name

jmontoyaa 8 anni fa
parent
commit
4e1bb0806f

+ 1 - 1
main/install/install.lib.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',

+ 0 - 1
main/install/update-files-1.10.0-1.11.0.inc.php

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