1
0
Эх сурвалжийг харах

Merge branch 'master' of https://dev.al2k4.uk/al2k4/check-policy

Alan Lam 8 жил өмнө
parent
commit
c868c55871

+ 4 - 0
controllers/project_ajax.php

@@ -113,6 +113,10 @@ if($submit) {
 				*/
 				*/
 
 
 				$max_distance = 25;
 				$max_distance = 25;
+				
+				if(Core::$user->level == User::LEVEL_SUPERADMIN) {
+					$max_distance = 1000;
+				}
 
 
 				$bounds = Geolocation::getBounds($location->getGeolocation(), $max_distance);
 				$bounds = Geolocation::getBounds($location->getGeolocation(), $max_distance);