File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public function isAllowed()
9090
9191 public function isActive ()
9292 {
93- return $ this ->user ->status ;
93+ return $ this ->user ->status == ACTIVE ? TRUE : FALSE ;
9494 }
9595
9696 public function isLimited ()
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public function isAllowed()
8888
8989 public function isActive ()
9090 {
91- return $ this ->user ->status ;
91+ return $ this ->user ->status == ACTIVE ? TRUE : FALSE ;
9292 }
9393
9494 public function isLimited ()
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ public function isAllowed()
117117
118118 public function isActive ()
119119 {
120- return $ this ->user ->status ;
120+ return $ this ->user ->status == ACTIVE ? TRUE : FALSE ;
121121 }
122122
123123 public function isLimited ()
You can’t perform that action at this time.
0 commit comments