[TYPO3-commerce] class pi3

Sascha Egerer seg at softvision.de
Thu Nov 22 11:44:32 CET 2007


I can confirm this...
But is it not the same so simply delete the +1 ?

  for ($i=($currentStepNumber);$i <= count($this->CheckOutsteps);$i++){
      ...
  }

Or am i currently confused...

Jeroen Visser schrieb:
> Hi,
> Can someone confirm that the code in function renderSteps()
> 
> for ($i=($currentStepNumber+1);$i <= count($this->CheckOutsteps);$i++){
>     ...           
> }
> 
> Should be:
> for ($i=($currentStepNumber+1);$i < count($this->CheckOutsteps);$i++){
>     ...           
> }
> 
> I have visualized the steps as <li>'s an after this adjustment I don't 
> get a empty <li> anymore at the end.
> 
> Greetings,
> Jeroen
> 


More information about the TYPO3-project-commerce mailing list