From 2de8d881901336e23ec477ee42acc0ca250204a5 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Tue, 21 Oct 2003 00:11:27 +0000 Subject: [PATCH] quick fix before 5.5.0 release --- lib/WebGUI/Forum/UI.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Forum/UI.pm b/lib/WebGUI/Forum/UI.pm index 52e47a22e..81c02cfe4 100644 --- a/lib/WebGUI/Forum/UI.pm +++ b/lib/WebGUI/Forum/UI.pm @@ -850,7 +850,7 @@ sub forumProperties { -unitsValue=>$units, -uiLevel=>9 ); - my ($interval, $units) = WebGUI::DateTime::secondsToInterval(($forum->get("editTimeout") || 3600)); + ($interval, $units) = WebGUI::DateTime::secondsToInterval(($forum->get("editTimeout") || 3600)); $f->interval( -name=>"editTimeout", -label=>WebGUI::International::get(566), @@ -1324,7 +1324,7 @@ sub notifySubscribers { $subscribers{$userId} = $userId unless ($userId == $post->get("userId")); # make sure we don't send unnecessary messages } $sth->finish; - my $sth = WebGUI::SQL->read("select userId from forumSubscription where forumId=".$forum->get("forumId")); + $sth = WebGUI::SQL->read("select userId from forumSubscription where forumId=".$forum->get("forumId")); while (my ($userId) = $sth->array) { $subscribers{$userId} = $userId unless ($userId == $post->get("userId")); # make sure we don't send unnecessary messages }