Page MenuHomeIn-Portal Phabricator

D402.id.diff
No OneTemporary

File Metadata

Created
Mon, Jan 6, 5:39 AM

D402.id.diff

Index: branches/5.2.x/units/taxes/taxes_event_handler.php
===================================================================
--- branches/5.2.x/units/taxes/taxes_event_handler.php
+++ branches/5.2.x/units/taxes/taxes_event_handler.php
@@ -172,9 +172,8 @@
if( ($location_id && !$this->check_array($temp, 'StdDestId', $location_id)) ||
($zip && !$this->check_array($temp, 'DestValue', $zip)) )
{
-
- if($tax_object->GetDBField('Type') == 3 && $zip ==''){
- continue;
+ if ( $tax_object->GetDBField('Type') == 3 && $zip == '' ) {
+ break;
}
$temp[$new_id]['TaxZoneDestId'] = $new_id;
@@ -250,4 +249,4 @@
$event->redirect = false;
}
-}
\ No newline at end of file
+}

Event Timeline