mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
Fixed issue with canView not being same as DataObject::canView
This commit is contained in:
parent
1416ad24ae
commit
3a1a99cbd5
@ -75,7 +75,7 @@ to show the DataObject by its ID.
|
||||
|
||||
class MyDataObject extends DataObject {
|
||||
|
||||
function canView() {
|
||||
function canView($member = null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user