Author Topic: [DEV RESPOND REQUESTED] Checkout process not going to final step  (Read 3714 times)

RolandD

  • Full Member
  • ***
  • Posts: 780
    • Home of CSVI
[DEV RESPOND REQUESTED] Checkout process not going to final step
« on: September 22, 2007, 00:08:25 am »
Hi guys,

In file * @version $Id: ps_checkout.php 925 2007-09-06 02:15:15Z macallf $ there is the following code around line 134:
if( in_array$stepname$_POST['checkout_this_step'])) {
next($steps);
return 
key($steps);
}


this should read:

if( in_array$stepname$_POST['checkout_this_step'])) {
return 
key($steps);
}


The next() function is not needed since the array is already one step ahead.
Regards,

RolandD

CSVI
http://www.csvimproved.com/