Skip to content

Commit 3fc3eaa

Browse files
committed
git checks caught a straggler use of the constant
1 parent bd30167 commit 3fc3eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnityGroup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function approveGroup(?UnityUser $operator = null, bool $send_mail = true
118118
*/
119119
public function denyGroup(?UnityUser $operator = null, bool $send_mail = true): void
120120
{
121-
$request = $this->SQL->getRequest($this->getOwner()->uid, UnitySQL::REQUEST_BECOME_PI);
121+
$request = $this->SQL->getRequest($this->getOwner()->uid, "admin");
122122
$this->SQL->removeRequest($this->getOwner()->uid);
123123
if ($this->exists()) {
124124
return;

0 commit comments

Comments
 (0)