Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

477
 
1598
 
1598
 
create_account.php
_> 132132       $check = tep_db_fetch_array($check_query);
  133133       $entry_state_has_zones = ($check['total'] > 0);
  134134       if ($entry_state_has_zones == true) {
<> 135 -        $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) . "%')");
   135+        $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) . "')");
<_ 136136         if (tep_db_num_rows($zone_query) == 1) {
  137137           $zone = tep_db_fetch_array($zone_query);
  138138           $zone_id = $zone['zone_id'];