Просмотр исходного кода

login redirection lib : $param must be a global variable

Noel Dieschburg 13 лет назад
Родитель
Сommit
5a3f3045b2
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      main/inc/lib/loginredirection.lib.php

+ 2 - 0
main/inc/lib/loginredirection.lib.php

@@ -7,6 +7,8 @@ Class LoginRedirection {
 
 	//checks user status and redirect him through custom page if setting is enabled
 	public function redirect(){
+		
+		global $param;
 
 		if ( api_is_student() && !api_get_setting('student_page_after_login') == '' ){
 			$redirect_url = html_entity_decode(api_get_setting('student_page_after_login'));