From d948cb4a33c5e9c10eb2d9581f40c2e5c0c1e726 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 4 Mar 2007 06:22:15 +0000 Subject: [PATCH] fix typo in expireNotifyOffset method which prevents it from setting this value --- lib/WebGUI/Group.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Group.pm b/lib/WebGUI/Group.pm index 5e75dac84..e9c8bc3ea 100755 --- a/lib/WebGUI/Group.pm +++ b/lib/WebGUI/Group.pm @@ -42,7 +42,7 @@ This package provides an object-oriented way of managing WebGUI groups and group $integer = $g->deleteOffset(14); $text = $g->description("Those really smart dudes."); $integer = $g->expireNotify(1); - $integer = $g->expireNotifyMessage("You're outta here!"); + $text = $g->expireNotifyMessage("You're outta here!"); $integer = $g->expireNotifyOffset(-14); $integer = $g->expireOffset(360000); $integer = $g->getId; @@ -421,7 +421,7 @@ sub expireNotifyOffset { my $self = shift; my $value = shift; if (defined $value) { - $self->get("expireNotifyOffset",$value); + $self->set("expireNotifyOffset",$value); } return $self->get("expireNotifyOffset"); }