Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
67c886dd
Commit
67c886dd
authored
Aug 21, 2008
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 451449: "Can't use undefined value as ARRAY reference" when logging into a new account
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
parent
e9a2d105
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
User.pm
Bugzilla/User.pm
+3
-3
No files found.
Bugzilla/User.pm
View file @
67c886dd
...
...
@@ -445,15 +445,15 @@ sub bless_groups {
AND groups.id=user_group_map.group_id)
OR (groups.id = ggm.grantor_id
AND ggm.grant_type = '
.
GROUP_BLESS
.
'
AND
ggm.member_id '
.
$dbh
->
sql_in
(
\
@group_ids
)
AND
'
.
$dbh
->
sql_in
(
'ggm.member_id'
,
\
@group_ids
)
.
') )'
;
# If visibilitygroups are used, restrict the set of groups.
if
(
Bugzilla
->
params
->
{
'usevisibilitygroups'
})
{
return
[]
if
!
$self
->
visible_groups_as_string
;
# Users need to see a group in order to bless it.
$query
.=
" AND
groups.id
"
.
$dbh
->
sql_in
(
$self
->
visible_groups_inherited
);
$query
.=
" AND "
.
$dbh
->
sql_in
(
'groups.id'
,
$self
->
visible_groups_inherited
);
}
my
$ids
=
$dbh
->
selectcol_arrayref
(
$query
,
undef
,
$self
->
id
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment