From 5c6297542158b5aaf6b4520bdbb32b1c29da7313 Mon Sep 17 00:00:00 2001 From: Martin Kamerbeek Date: Fri, 8 Dec 2006 13:55:49 +0000 Subject: [PATCH] fixed a small bug in WebGUI::ProfileField --- docs/changelog/7.x.x.txt | 2 ++ lib/WebGUI/ProfileField.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index be5cbb18a..ce847d7f5 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -4,6 +4,8 @@ - Fixed a problem with the new autocommit code that caused reply posts not to work in the collaboration system. - Storage deletes were throwing fatals when they should throw warnings. + - Fixed a bug in WebGUI::ProfileField->getCategory which caused it to always + return undef. (Martin Kamerbeek / Procolix) 7.3.0 diff --git a/lib/WebGUI/ProfileField.pm b/lib/WebGUI/ProfileField.pm index 52c61f33d..1a69a5623 100644 --- a/lib/WebGUI/ProfileField.pm +++ b/lib/WebGUI/ProfileField.pm @@ -248,7 +248,7 @@ Returns a WebGUI::ProfileCategory object for the category that this profile fiel sub getCategory { my $self = shift; - return WebGUI::ProfileCategory->new($self->session,$self->get("categoryId")); + return WebGUI::ProfileCategory->new($self->session,$self->get("profileCategoryId")); }