Commit f8eafa6e authored by Alex Vandiver's avatar Alex Vandiver
Browse files

Explicitly ACL ObjectCustomFieldValue content, based on the custon field object

parent 619d19d8
......@@ -251,6 +251,8 @@ my $re_ip_serialized = qr/$re_ip_sunit(?:\.$re_ip_sunit){3}/;
sub Content {
my $self = shift;
return undef unless $self->CustomFieldObj->CurrentUserHasRight('SeeCustomField');
my $content = $self->_Value('Content');
if ( $self->CustomFieldObj->Type eq 'IPAddress'
|| $self->CustomFieldObj->Type eq 'IPAddressRange' )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment