Project

General

Profile

« Previous | Next » 

Revision 278

Added by stefan almost 19 years ago

Fixed some notices and warnings.

View differences:

class.login.php
61 61
		$this->forgotten_details_app = $config_array['FORGOTTEN_DETAILS_APP'];
62 62
		$this->max_username_len = $config_array['MAX_USERNAME_LEN'];
63 63
		$this->max_password_len = $config_array['MAX_PASSWORD_LEN'];
64
		$this->redirect_url = $config_array['REDIRECT_URL'];
64
		if (array_key_exists('REDIRECT_URL',$config_array))
65
			$this->redirect_url = $config_array['REDIRECT_URL'];
66
		else
67
			$this->redirect_url = '';
65 68
		// Get the supplied username and password
66 69
		if ($this->get_post('username_fieldname') != ''){
67 70
			$username_fieldname = $this->get_post('username_fieldname');

Also available in: Unified diff