Browse Source

Correction CitiesController

reduction
Guillaume 4 years ago
parent
commit
d2868e751a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ShopBundle/Controller/CitiesController.php

+ 1
- 1
ShopBundle/Controller/CitiesController.php View File

'boost' => 'population', 'boost' => 'population',
] ; ] ;


if(strlen($term) == 5) {
if(strlen($term) == 5 && is_numeric($term)) {
$data['codePostal'] = $term ; $data['codePostal'] = $term ;
} }
else { else {

Loading…
Cancel
Save