From 13fcbe2ffcd1d2fcf11e358426ae12ea02987cba Mon Sep 17 00:00:00 2001 From: JT Smith Date: Wed, 31 Jul 2002 03:10:50 +0000 Subject: [PATCH] Fixed bug # 588841 --- lib/WebGUI/MessageLog.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/WebGUI/MessageLog.pm b/lib/WebGUI/MessageLog.pm index 9e33823d9..9863871ab 100644 --- a/lib/WebGUI/MessageLog.pm +++ b/lib/WebGUI/MessageLog.pm @@ -20,7 +20,6 @@ use WebGUI::SQL; use WebGUI::URL; use WebGUI::User; - #------------------------------------------------------------------- sub _notify { my ($u, $message, $subject); @@ -53,7 +52,7 @@ sub addEntry { $url = $_[4]; $status = $_[5]; if ($groupId ne "") { - @users = WebGUI::SQL->quickArray("select userId from groupings where groupId=$groupId"); + @users = WebGUI::SQL->buildArray("select userId from groupings where groupId=$groupId"); } @users = ($userId,@users); foreach $user (@users) { @@ -82,9 +81,9 @@ sub addInternationalizedEntry { %message = WebGUI::SQL->buildHash("select languageId,message from international where internationalId=$internationalId and namespace='$namespace'"); %subject = WebGUI::SQL->buildHash("select languageId,message from international where internationalId=523 and namespace='WebGUI'"); if ($groupId ne "") { - @users = WebGUI::SQL->quickArray("select userId from groupings where groupId=$groupId"); + @users = WebGUI::SQL->buildArray("select userId from groupings where groupId=$groupId"); } - @users = ($userId,@users); + @users = ($userId,@users); foreach $user (@users) { $u = WebGUI::User->new($user); if ($u->userId ne "") {