logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

[TEP-COMMIT] CVS: catalog/catalog checkout_shipping.php,1.17,1.18: msg#00066

Subject: [TEP-COMMIT] CVS: catalog/catalog checkout_shipping.php,1.17,1.18
Update of /cvsroot/tep/catalog/catalog
In directory sc8-pr-cvs1:/tmp/cvs-serv19630

Modified Files:
        checkout_shipping.php 
Log Message:
fix bug 1497

allow_call_time_pass_reference compatibility fix


Index: checkout_shipping.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/checkout_shipping.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- checkout_shipping.php       17 Nov 2003 20:58:34 -0000      1.17
+++ checkout_shipping.php       19 Nov 2003 21:25:59 -0000      1.18
@@ -115,9 +115,11 @@
             $osC_Session->remove('shipping');
           } else {
             if (isset($quote[0]['methods'][0]['title']) && 
isset($quote[0]['methods'][0]['cost'])) {
-              $osC_Session->set('shipping', array('id' => 
$osC_Session->value('shipping'),
-                                                  'title' => (($free_shipping 
== true) ?  $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . 
$quote[0]['methods'][0]['title'] . ')'),
-                                                  'cost' => 
$quote[0]['methods'][0]['cost']));
+              $shipping = array('id' => $osC_Session->value('shipping'),
+                                'title' => (($free_shipping == true) ?  
$quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . 
$quote[0]['methods'][0]['title'] . ')'),
+                                'cost' => $quote[0]['methods'][0]['cost']);
+
+              $osC_Session->set('shipping', $shipping);
 
               tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 
'SSL'));
             }



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>