Fixed #8924: useProfile: s/viewable/visible/ig

This commit is contained in:
Frank Dillon 2008-10-28 22:10:09 +00:00
parent f5aafd53e0
commit 5166512f32
3 changed files with 3 additions and 2 deletions

View file

@ -235,7 +235,7 @@ Returns a boolean indicating whether the category's fields may be viewed by a us
sub isViewable {
my $self = shift;
return $self->get("viewable");
return $self->get("visible");
}

View file

@ -511,7 +511,7 @@ Returns a boolean indicating whether this field may be viewed by a user.
sub isViewable {
my $self = shift;
return $self->get("viewable");
return $self->get("visible");
}
#-------------------------------------------------------------------