Minor corrections

skala
Julio Montoya 14 years ago
parent ca8b9782f8
commit 5986cb7678
  1. 6
      main/inc/lib/sessionmanager.lib.php
  2. 4
      main/mySpace/myStudents.php

@ -1210,7 +1210,7 @@ class SessionManager {
/**
* Get users by session
* @param int sesssion id
* @return array a list with the user info
* @return array a list with an user list
*/
public static function get_users_by_session($id) {
$tbl_user = Database::get_main_table(TABLE_MAIN_USER);
@ -1236,4 +1236,8 @@ class SessionManager {
return Database::select('*', $session_table, array('where'=>array('id_coach = ?'=>$user_id)));
}
public static function get_session_by_user($coach_id, $user_id) {
}
}

@ -208,8 +208,8 @@ $check= Security::check_token('get');
if ($check) {
switch ($_GET['action']) {
case 'reset_lp' :
$origin = isset($_GET['origin']) ?Security::remove_XSS($_GET['origin']):"";
$details = isset($_GET['details']) ?Security::remove_XSS($_GET['details']):"";
//$origin = isset($_GET['origin']) ?Security::remove_XSS($_GET['origin']):"";
//$details = isset($_GET['details']) ?Security::remove_XSS($_GET['details']):"";
$course = isset($_GET['course']) ?$_GET['course']:"";
$lp_id = isset($_GET['lp_id']) ?intval($_GET['lp_id']):"";

Loading…
Cancel
Save