Revize 3ada754d
Přidáno uživatelem David Raška před asi 11 roky(ů)
index.php | ||
---|---|---|
{
|
||
// find number
|
||
$where = '';
|
||
|
||
|
||
if (empty($district))
|
||
{
|
||
$district = $town;
|
||
}
|
||
|
||
$match = array();
|
||
if (preg_match('((ev\.č\.)?[0-9][0-9]*(/[0-9][0-9]*[a-zA-Z]*)*)', $street, $match))
|
||
{
|
Také k dispozici: Unified diff
Changes:
- Change of validator behavior, if no district is set, validator tries use town name as district name