VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: RolandD on September 22, 2007, 00:08:25 AM

Title: [DEV RESPOND REQUESTED] Checkout process not going to final step
Post by: RolandD 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.
Title: Re: [UNDER REIVEW] Checkout process not going to final step
Post by: aravot on September 22, 2007, 20:15:05 PM
Developer respond requested.