Project

General

Profile

« Previous | Next » 

Revision 1331

Added by Dietmar over 14 years ago

update class.login.php (tks to Ruud)

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.1 -------------------------------------
14
18-Apr-2010 Dietmar Woellbrink (Luisehahne)
14
20-Apr-2010 Dietmar Woellbrink (Luisehahne)
15
!	update class.login.php (tks to Ruud)
16
19-Apr-2010 Dietmar Woellbrink (Luisehahne)
15 17
!	update class.login.php
16 18
18-Apr-2010 Dietmar Woellbrink (Luisehahne)
17 19
!	Validation fix in preference
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.x');
55
if(!defined('REVISION')) define('REVISION', '1330');
55
if(!defined('REVISION')) define('REVISION', '1331');
56 56

  
57 57
?>
branches/2.8.x/wb/framework/class.login.php
232 232
			$get_ip = $_SERVER['REMOTE_ADDR'];
233 233
			$query = "UPDATE ".$this->USERS_TABLE." SET login_when = '$get_ts', login_ip = '$get_ip' WHERE user_id = '$user_id'";
234 234
			$database->query($query);
235
		}else {
236
		  $num_rows = 0;
235 237
		}
236 238
		// Return if the user exists or not
237 239
		return $num_rows;

Also available in: Unified diff