[TEP-COMMIT] CVS: catalog/catalog checkout_shipping.php,1.19,1.20
cvs-OfajU3CKLf1/[email protected]
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /pack/cvsroots/oscommerce/catalog/catalog
In directory sunsite.dk:/tmp/cvs-serv18339
Modified Files:
checkout_shipping.php
Log Message:
Fix bug 1522
Index: checkout_shipping.php
===================================================================
RCS file: /pack/cvsroots/oscommerce/catalog/catalog/checkout_shipping.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- checkout_shipping.php 2003/12/18 23:52:14 1.19
+++ checkout_shipping.php 2004/02/14 21:04:00 1.20
@@ -50,8 +50,11 @@
// if the order contains only virtual products, forward the customer to the billing page as
// a shipping address is not needed
if ($order->content_type == 'virtual') {
- $osC_Session->set('shipping', false);
- $osC_Session->set('sendto', false);
+
+ $false = false;
+
+ $osC_Session->set('shipping', $false);
+ $osC_Session->set('sendto', $false);
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
}
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click