Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

477
 
1598
 
1598
 
address_book_process.php
_> 102102       $check = tep_db_fetch_array($check_query);
  103103       $entry_state_has_zones = ($check['total'] > 0);
  104104       if ($entry_state_has_zones == true) {
<> 105 -        $zone_query = tep_db_query("select distinct zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' and (zone_name like '" . tep_db_input($state) . "%' or zone_code like '%" . tep_db_input($state) . "%')");
   105+        $zone_query = tep_db_query("select distinct zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' and (zone_name = '" . tep_db_input($state) . "' or zone_code = '" . tep_db_input($state) . "')");
<_ 106106         if (tep_db_num_rows($zone_query) == 1) {
  107107           $zone = tep_db_fetch_array($zone_query);
  108108           $zone_id = $zone['zone_id'];