Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c6b00989

Přidáno uživatelem Ondřej Fibich před téměř 6 roky(ů)

Fixes #1105: map support fixes [develop]

Zobrazit rozdíly:

application/models/address_point.php
$country_id, $town, $district, $street, $number, $zip)
{
$where = " AND country_id = '".intval($country_id).
"' AND town LIKE '".mysql_real_escape_string($town)."'".
" AND street LIKE '".mysql_real_escape_string($street)."'".
" AND street_number LIKE '".mysql_real_escape_string($number)."'".
" AND t.zip_code LIKE '".mysql_real_escape_string($zip)."'";
"' AND town LIKE '".$this->db->escape_str($town)."'".
" AND street LIKE '".$this->db->escape_str($street)."'".
" AND street_number LIKE '".$this->db->escape_str($number)."'".
" AND t.zip_code LIKE '".$this->db->escape_str($zip)."'";
if ($district)
{
$where .= " AND quarter LIKE '".mysql_real_escape_string($district)."'";
$where .= " AND quarter LIKE '".$this->db->escape_str($district)."'";
}
else
{

Také k dispozici: Unified diff