Cleanup/future-proofing.

        Patch by kareila. 

diffs (13 lines):

diff -r 697554d09cd1 -r 4717d7c1494e cgi-bin/DW/Shop/Engine/GoogleCheckout.pm
--- a/cgi-bin/DW/Shop/Engine/GoogleCheckout.pm  Mon Apr 05 07:45:39 2010 -0700
+++ b/cgi-bin/DW/Shop/Engine/GoogleCheckout.pm  Mon Apr 05 08:17:58 2010 -0700
@@ -213,7 +213,8 @@ sub process_notification {
 
     # now that it's logged, we can do some processing depending on what type 
it is
     if ( $form->{_type} eq 'new-order-notification' ) {
-        my $cart = DW::Shop::Cart->get_from_cartid( $1 )
+        my $cart;
+        $cart = DW::Shop::Cart->get_from_cartid( $1 )
             if $form->{'shopping-cart.merchant-private-data'} =~ 
m!note>(\d+)</merch!;
 
         # now ensure the cart is good ...
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to