浏览代码

Fix missing statement getting the accumulate_scorm_time setting from the c_lp table - refs CT#8211

Yannick Warnier 8 年之前
父节点
当前提交
1ec71b08bb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      main/lp/learnpathItem.class.php

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

@@ -3634,6 +3634,7 @@ class learnpathItem
         $res = Database::query($sql);
         $accumulateScormTime = 'false';
         if (Database::num_rows($res) > 0) {
+            $row = Database::fetch_assoc($res);
             $accumulateScormTime = $row['accumulate_scorm_time'];
         }