Project

General

Profile

« Previous | Next » 

Revision 1604

Added by Dietmar almost 13 years ago

fixed parse error in login.php

View differences:

login.php
57 57
$redirect = ((isset($_SESSION['HTTP_REFERER']) && ($redirect='')) ?  $_SESSION['HTTP_REFERER'] : $redirect);
58 58
// $_SESSION['HTTP_REFERER'] = str_replace(WB_URL,'',$redirect);
59 59

  
60
// $loginUrl  = WB_URL.'/account/login.php';
61
$loginUrl .= (($redirect!='') ? '?redirect=' .$_SESSION['HTTP_REFERER'] : '');
60
$loginUrl  = WB_URL.'/account/login.php';
61
$loginUrl .= (($redirect!='') ? '?redirect=' .$_SESSION['HTTP_REFERER'] : $loginUrl);
62 62

  
63 63
$ThemeUrl  = WB_URL.$wb->correct_theme_source('warning.html');
64 64
// Setup template object, parse vars to it, then parse it

Also available in: Unified diff