Ver Fonte

Fix incorrect variable

Alan Lam há 7 anos atrás
pai
commit
2caabbd80b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tasks/import_venues.php

+ 1 - 1
tasks/import_venues.php

@@ -145,7 +145,7 @@ for($i = 0; $data = fgetcsv($handle); $i++) {
 
 	if(!empty($postal_code)) $location->postal_code = $postal_code;
 
-	if($region && !$location->latitude) {
+	if($region_code && !$location->latitude) {
 
 		for($attempt = 0; $attempt < 2; $attempt++) {