Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1603)
+++ branches/2.8.x/CHANGELOG	(revision 1604)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 =========================== add small Features 2.8.2 ==========================
+08 Feb-2012 Build 1604 Dietmar Woellbrink (Luisehahne)
+# fixed parse error in login.php
 08 Feb-2012 Build 1603 Dietmar Woellbrink (Luisehahne)
 ! fix local module reload and module manuell install
 ! forgot to upload login.php
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1603)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1604)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2');
-if(!defined('REVISION')) define('REVISION', '1603');
+if(!defined('REVISION')) define('REVISION', '1604');
 if(!defined('SP')) define('SP', 'SP2');
Index: branches/2.8.x/wb/account/login.php
===================================================================
--- branches/2.8.x/wb/account/login.php	(revision 1603)
+++ branches/2.8.x/wb/account/login.php	(revision 1604)
@@ -57,8 +57,8 @@
 $redirect = ((isset($_SESSION['HTTP_REFERER']) && ($redirect='')) ?  $_SESSION['HTTP_REFERER'] : $redirect);
 // $_SESSION['HTTP_REFERER'] = str_replace(WB_URL,'',$redirect);
 
-// $loginUrl  = WB_URL.'/account/login.php';
-$loginUrl .= (($redirect!='') ? '?redirect=' .$_SESSION['HTTP_REFERER'] : '');
+$loginUrl  = WB_URL.'/account/login.php';
+$loginUrl .= (($redirect!='') ? '?redirect=' .$_SESSION['HTTP_REFERER'] : $loginUrl);
 
 $ThemeUrl  = WB_URL.$wb->correct_theme_source('warning.html');
 // Setup template object, parse vars to it, then parse it
