Procházet zdrojové kódy

Add missing variable

Angel Fernando Quiroz Campos před 6 roky
rodič
revize
c68de436c6
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      main/lp/aicc.class.php

+ 1 - 0
main/lp/aicc.class.php

@@ -439,6 +439,7 @@ class aicc extends learnpath
         $files_found = [];
         $subdir_isset = false;
         // The following loop should be stopped as soon as we found the right config files (.crs, .au, .des and .cst).
+        $realFileSize = 0;
         foreach ($zipContentArray as $thisContent) {
             if (preg_match('~.(php.*|phtml)$~i', $thisContent['filename'])) {
                 // If a php file is found, do not authorize (security risk).