summaryrefslogtreecommitdiffstats
path: root/Bug.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bug.pm')
-rwxr-xr-xBug.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bug.pm b/Bug.pm
index f0274b295..1c51af1a1 100755
--- a/Bug.pm
+++ b/Bug.pm
@@ -101,6 +101,7 @@ sub initBug {
$self->{'whoid'} = $user_id;
&::SendSQL("SELECT groupset FROM profiles WHERE userid=$self->{'whoid'}");
my $usergroupset = &::FetchOneColumn();
+ if (!$usergroupset) { $usergroupset = '0' }
$self->{'usergroupset'} = $usergroupset;
my $query = "