Commit e980f250 authored by Sylvany Mirana's avatar Sylvany Mirana
Browse files

elts > 9 cocity

parent 3498b87d
......@@ -24,7 +24,7 @@ class GenerateCocityAction extends CAction{
$number = PHDB::count( $v,["address.postalCode"=>$value]);
$elCtCP += $number;
}
if ($elCtCP ) {
if ($elCtCP > 9 ) {
if ($value != '') {
$city = PHDB::findOne(City::COLLECTION, array("postalCodes.postalCode" => $value));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment