Skip to content

Commit

Permalink
fix: corrected error on admin page after login, closes #3060
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Jul 1, 2024
1 parent d01ac99 commit 1972b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/src/phpMyFAQ/User/CurrentUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ public function setAuthSource(string $authSource): bool
$this->getUserId()
);

return $this->config->getDb()->query($update);
return (bool) $this->config->getDb()->query($update);
}

/**
Expand Down

0 comments on commit 1972b84

Please sign in to comment.