Minor - adding validation in case session_id is not set

skala
Julio Montoya 14 years ago
parent b7b1ff2cce
commit 1d08c3c4cf
  1. 4
      main/mySpace/myStudents.php

@ -197,6 +197,10 @@ if (isset($_GET['user_id']) && $_GET['user_id'] != "") {
}
$session_id = intval($_GET['id_session']);
if (empty($session_id)) {
$session_id = api_get_session_id();
}
$student_id = intval($_GET['student']);
// Action behaviour

Loading…
Cancel
Save