浏览代码

Add missing variable

Angel Fernando Quiroz Campos 6 年之前
父节点
当前提交
c68de436c6
共有 1 个文件被更改,包括 1 次插入0 次删除
  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).