From 5166512f3247a4b9a85696b7a4c456a4b16dc57f Mon Sep 17 00:00:00 2001 From: Frank Dillon Date: Tue, 28 Oct 2008 22:10:09 +0000 Subject: [PATCH] Fixed #8924: useProfile: s/viewable/visible/ig --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/ProfileCategory.pm | 2 +- lib/WebGUI/ProfileField.pm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index eb40b9f79..bd665d1e3 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -162,6 +162,7 @@ in about 3 years. - Fixed #8984: Weather Asset missing hoverhelp - fixed #4177: You can send your people on your friends list a friends request + - Fixed #8924: useProfile: s/viewable/visible/ig 7.5.30 - fixed: can't add EMS tickets to badges diff --git a/lib/WebGUI/ProfileCategory.pm b/lib/WebGUI/ProfileCategory.pm index b2bd2d67f..b0eac652c 100644 --- a/lib/WebGUI/ProfileCategory.pm +++ b/lib/WebGUI/ProfileCategory.pm @@ -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"); } diff --git a/lib/WebGUI/ProfileField.pm b/lib/WebGUI/ProfileField.pm index 2e043a491..f6eba889d 100644 --- a/lib/WebGUI/ProfileField.pm +++ b/lib/WebGUI/ProfileField.pm @@ -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"); } #-------------------------------------------------------------------