fix not null variables without declaration

pull/2487/head
Alex Aragon 9 years ago
parent 7d70c2ef81
commit 272bc63e92
  1. 4
      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

Loading…
Cancel
Save