Преглед изворни кода

Increase max distance for admins.

Alan Lam пре 8 година
родитељ
комит
67a07362b0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      controllers/project_ajax.php

+ 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;
 				}