Просмотр исходного кода

Increase max distance to 4000 miles

Alan Lam 3 лет назад
Родитель
Сommit
a2af757100
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      controllers/project_ajax.php

+ 1 - 1
controllers/project_ajax.php

@@ -134,7 +134,7 @@ if($submit) {
 				$max_distance = 25;
 				$max_distance = 25;
 
 
 				if(Core::$user->canAccessProjects()) {
 				if(Core::$user->canAccessProjects()) {
-					$max_distance = 1000;
+					$max_distance = 4000;
 				}
 				}
 
 
 				$bounds = Geolocation::getBounds($location->getGeolocation(), $max_distance);
 				$bounds = Geolocation::getBounds($location->getGeolocation(), $max_distance);