> I don't know if this was ever really put to rest, I remember it
> being mentioned
> in the list, but no real fix, just a suggestion to put something
> like so and so
> in a certain file. This should work, if you need a fix: add these
> lines at the
> top of actions/CREATE_INVOICE , make it the first code executed,
> put it in right
> after the comments:
>
> // Added to ensure shopper is logged in, if not send him to login screen
>         if(SHOPPER_MUST_REGISTER AND (!((isset($UserInfo["ID"])) AND
> ($UserInfo["ID"] > 0))))
>         {
>                 $SCREEN="login";
>                 return;
>                 /* don't do anything */
>         }
>

Yeah, that bug is probably still lurking.

If you want to fix it in CVS, Kelley, please do so.  But consider that
putting a return statement inside an if-block doesn't work in PHP 3.  It
probably needs to use a "continueScript" variable instead.

Thanks,
Leon



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to