Minor - Fixing tab/whitespaces

1.9.x
Julio Montoya 11 years ago
parent 4bc737b02a
commit ffe1748ff1
  1. 2
      main/inc/lib/career.lib.php
  2. 6
      main/inc/lib/sessionmanager.lib.php

@ -96,7 +96,7 @@ class Career extends Model
*/
public function return_form($url, $action)
{
$oFCKeditor = new FCKeditor('description') ;
$oFCKeditor = new FCKeditor('description');
$oFCKeditor->ToolbarSet = 'careers';
$oFCKeditor->Width = '100%';
$oFCKeditor->Height = '200';

@ -888,7 +888,8 @@ class SessionManager
* @param int User id
* @return bool True in case of success, false in case of error
*/
public static function unsubscribe_user_from_session($session_id, $user_id) {
public static function unsubscribe_user_from_session($session_id, $user_id)
{
$session_id = (int)$session_id;
$user_id = (int)$user_id;
@ -1710,7 +1711,7 @@ class SessionManager
WHERE id_coach = $user_id";
if (api_is_multiple_url_enabled()) {
$tbl_session_rel_access_url= Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$tbl_session_rel_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_SESSION);
$access_url_id = api_get_current_access_url_id();
if ($access_url_id != -1) {
$sql = 'SELECT DISTINCT session.*
@ -2672,6 +2673,7 @@ class SessionManager
/**
* @param array $sessions
* @param array $courses
* @return string
*/
public static function copyCoachesFromSessionToCourse($sessions, $courses)
{

Loading…
Cancel
Save