Explorar o código

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

Yannick Warnier %!s(int64=8) %!d(string=hai) anos
pai
achega
1ec71b08bb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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'];
         }