BUGFIX: Show please update related pages message, regardless of the owner of the related relationship (from r87257)

This commit is contained in:
Tom Rix 2010-03-01 03:11:48 +00:00
parent 5aae99f3d2
commit 34245d49f2

View File

@ -126,7 +126,7 @@ class LeftAndMainSubsites extends Extension {
}
function onAfterSave($record) {
if($record->hasMethod('RelatedPages') && $record->RelatedPages()) {
if($record->hasMethod('NormalRelated') && ($record->NormalRelated() || $record->ReverseRelated())) {
FormResponse::status_message('Saved, please update related pages.', 'good');
}
}