mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR: Fixed managed_models error message to reflect that it's public, not protected, now.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77000 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7d00afce59
commit
eb7d4f0118
@ -213,8 +213,8 @@ abstract class ModelAdmin extends LeftAndMain {
|
|||||||
if(!count($models)) {
|
if(!count($models)) {
|
||||||
user_error(
|
user_error(
|
||||||
'ModelAdmin::getManagedModels():
|
'ModelAdmin::getManagedModels():
|
||||||
You need to specify at least one DataObject subclass in protected static $managed_models.
|
You need to specify at least one DataObject subclass in public static $managed_models.
|
||||||
Make sure the visibility of your property is set to "protected"',
|
Make sure that this property is defined, and that its visibility is set to "public"',
|
||||||
E_USER_ERROR
|
E_USER_ERROR
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user