Fixed bug 596313

This commit is contained in:
JT Smith 2002-08-18 19:25:46 +00:00
parent 6426950192
commit 33e8b1fa7d

View file

@ -54,7 +54,7 @@ sub addEntry {
if ($groupId ne "") {
@users = WebGUI::SQL->buildArray("select userId from groupings where groupId=$groupId");
}
@users = ($userId,@users);
@users = ($userId,@users) if ($userId ne "");
foreach $user (@users) {
$u = WebGUI::User->new($user);
if ($u->userId ne "") {
@ -83,7 +83,7 @@ sub addInternationalizedEntry {
if ($groupId ne "") {
@users = WebGUI::SQL->buildArray("select userId from groupings where groupId=$groupId");
}
@users = ($userId,@users);
@users = ($userId,@users) if ($userId ne "");
foreach $user (@users) {
$u = WebGUI::User->new($user);
if ($u->userId ne "") {