There was an error while loading. Please reload this page.
1 parent 31cf3f6 commit 6a4c3d0Copy full SHA for 6a4c3d0
1 file changed
includes/Services/WikiRequestManager.php
@@ -695,11 +695,11 @@ public function getDBname(): string {
695
}
696
697
public function getVisibility(): int {
698
- return $this->getRowObject()->cw_visibility;
+ return (int)$this->getRowObject()->cw_visibility;
699
700
701
public function getRequester(): User {
702
- return $this->userFactory->newFromId( $this->getRowObject()->cw_user );
+ return $this->userFactory->newFromId( (int)$this->getRowObject()->cw_user );
703
704
705
public function getStatus(): string {
0 commit comments