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

Increase max distance for admins.

Alan Lam 8 жил өмнө
parent
commit
67a07362b0

+ 1 - 1
controllers/project_ajax.php

@@ -115,7 +115,7 @@ if($submit) {
 
 				$max_distance = 25;
 
-				if(Core::$user->level == User::LEVEL_SUPERADMIN) {
+				if(Core::$user->level >= User::LEVEL_ADMIN) {
 					$max_distance = 1000;
 				}