Skip to content

Commit 8638ce8

Browse files
authored
Update AssignmentForm.php
1 parent 76fd32e commit 8638ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/AssignmentForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function attributeLabels() {
5555
* @return boolean whether assignment save success
5656
*/
5757
public function save() {
58-
$this->authManager->revokeAll(intval($this->userId));
58+
$this->authManager->revokeAll($this->userId);
5959
if ($this->roles != null) {
6060
foreach ($this->roles as $role) {
6161
$this->authManager->assign($this->authManager->getRole($role), $this->userId);

0 commit comments

Comments
 (0)