From eb7d4f01184ae768202903bd30bfcc8ac2989f88 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sat, 16 May 2009 06:08:27 +0000 Subject: [PATCH] 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 --- code/ModelAdmin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ModelAdmin.php b/code/ModelAdmin.php index 109728da..177a0110 100644 --- a/code/ModelAdmin.php +++ b/code/ModelAdmin.php @@ -213,8 +213,8 @@ abstract class ModelAdmin extends LeftAndMain { if(!count($models)) { user_error( 'ModelAdmin::getManagedModels(): - You need to specify at least one DataObject subclass in protected static $managed_models. - Make sure the visibility of your property is set to "protected"', + You need to specify at least one DataObject subclass in public static $managed_models. + Make sure that this property is defined, and that its visibility is set to "public"', E_USER_ERROR ); }