Procházet zdrojové kódy

Merge pull request #1994 from aragonc/1.11.x

fix not null variables without declaration
Alex Aragon Calixto před 7 roky
rodič
revize
1ce8d6436e
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      main/mySpace/index.php

+ 4 - 0
main/mySpace/index.php

@@ -319,6 +319,10 @@ $form->display();
 
 $skipData = api_get_configuration_value('tracking_skip_generic_data');
 
+$totalTimeSpent = null;
+$averageScore = null;
+$posts = null;
+
 if ($skipData == false) {
     if (!empty($students)) {
         // Students