Project

General

Profile

« Previous | Next » 

Revision 1566

Added by Dietmar over 12 years ago

fix class.login, when name and pass are both empty, no longer call increase_attemps
some redirect updates in frontend account files

View differences:

signup2.php
22 22
// require_once(WB_PATH.'/framework/class.wb.php');
23 23
$wb = new wb('Start', 'start', false, false);
24 24

  
25
$_SESSION['PAGE_LINK'] = get_page_link( $_SESSION['PAGE_ID'] );
26
$_SESSION['HTTP_REFERER'] = page_link($_SESSION['PAGE_LINK']);
25
$page_id = (!empty($_SESSION['PAGE_ID']) ? $_SESSION['PAGE_ID'] : 0);
26
$_SESSION['PAGE_LINK'] = get_page_link( $page_id );
27
$_SESSION['HTTP_REFERER'] = (($_SESSION['PAGE_LINK']!='') ? page_link($_SESSION['PAGE_LINK']) : WB_URL);
27 28

  
28
// Create new database object
29
// $database = new database();
30

  
31 29
// Get details entered
32 30
$groups_id = FRONTEND_SIGNUP;
33 31
$active = 1;

Also available in: Unified diff