버그 수정
This commit is contained in:
1 parent
76ac6cf5b5
commit
91f2be6759
12 files changed
+39
-8
No files matched your search
@@ -278,7 +278,11 @@ abstract class BaseCommand{
|
||||
return $this->reasonNoPermissionToReserve;
|
||||
}
|
||||
|
||||
if($this->permissionConstraints === null){
|
||||
if($this->cachedPermissionToReserve){
|
||||
return $this->reasonNoPermissionToReserve;
|
||||
}
|
||||
|
||||
if(!$this->permissionConstraints){
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -304,7 +308,7 @@ abstract class BaseCommand{
|
||||
}
|
||||
|
||||
public function canDisplay():bool{
|
||||
return $this->hasPermissionToReserve();
|
||||
return true;
|
||||
}
|
||||
|
||||
public function testMinConditionMet():?string{
|
||||
|
||||
Reference in new issue
Block a user