Do not update the coach id of all courses when editing only the session configuration.

skala
Julio Montoya 15 years ago
parent 406b01920f
commit 8faa95a517
  1. 4
      main/inc/lib/sessionmanager.lib.php

@ -179,10 +179,10 @@ class SessionManager {
nb_days_access_after_end = ".$nb_days_acess_after."
WHERE id='$id'";
api_sql_query($sql,__FILE__,__LINE__);
$sqlu = "UPDATE $tbl_session_rel_course " .
/*$sqlu = "UPDATE $tbl_session_rel_course " .
" SET id_coach='$id_coach'" .
" WHERE id_session='$id'";
api_sql_query($sqlu,__FILE__,__LINE__);
api_sql_query($sqlu,__FILE__,__LINE__);*/
return $id;
}
}

Loading…
Cancel
Save