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")); }