Commit Graph

3 Commits

Author SHA1 Message Date
Steve Boyd 302af21cad ENH PHP 8.1 compatibility 2022-04-13 11:24:03 +12:00
GuySartorelli 2c0e2df02d
FIX Don't assume DataObject::canView always returns bool (#306)
Because there is no return value typehinting in DataObject::canView, the value returned from that method can be of any type. We must cast to boolean before returning the value to avoid possible errors with non-boolean return types.
2022-01-27 11:23:19 +13:00
Steve Boyd cfe937fbd1 NEW canView() check on record before indexing and before showing in search results 2020-06-10 17:22:20 +12:00