Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

410
 
644
 
644
 
account.php
_> 11 <?php
  22 /*
<> 3 -  $Id: account.php 410 2006-01-26 09:17:09Z hpdl $
   3+  $Id: account.php 644 2006-07-18 17:12:57Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2005 osCommerce
   8+  Copyright (c) 2006 osCommerce
99 
  1010   Released under the GNU General Public License
  1111 */
  1212 
  1313   require('includes/application_top.php');
  1414 
  1515   if ($osC_Customer->isLoggedOn() === false) {
<> 16 -    if (empty($_GET) || (!empty($_GET) && !in_array(tep_sanitize_string(basename(key(array_slice($_GET, 0, 1)))), array('login', 'create', 'password_forgotten')))) {
   16+    if (!empty($_GET)) {
   17+      $first_array = array_slice($_GET, 0, 1);
   18+    }
   19+
   20+    if (empty($_GET) || (!empty($_GET) && !in_array(tep_sanitize_string(basename(key($first_array))), array('login', 'create', 'password_forgotten')))) {
<_ 1721       $osC_NavigationHistory->setSnapshot();
  1822 
  1923       tep_redirect(tep_href_link(FILENAME_ACCOUNT, 'login', 'SSL'));