Browse Source

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

Yannick Warnier 8 years ago
parent
commit
1ec71b08bb
1 changed files with 1 additions and 0 deletions
  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'];
         }