Explorar el Código

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

Yannick Warnier hace 8 años
padre
commit
1ec71b08bb
Se han modificado 1 ficheros con 1 adiciones y 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'];
         }