Closed Bug 351182 Opened 19 years ago Closed 19 years ago

Odd number of elements in anonymous hash in editusers.cgi

Categories

(Bugzilla :: Administration, task)

2.23
task
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Keywords: regression)

Attachments

(1 file)

When creating a new user account from editusers.cgi, I get the warning: editusers.cgi: Odd number of elements in anonymous hash at /var/www/html/cvsbugzilla/editusers.cgi line 200. This issue has been introduced in bug 349349.
Attached patch patch, v1Splinter Review
You have to use scalar() when passing $cgi->param() in a hash.
Attachment #236561 - Flags: review?(mkanat)
Comment on attachment 236561 [details] [diff] [review] patch, v1 Fair enough. Except when they're not scalars. All of these are scalars, though.
Attachment #236561 - Flags: review?(mkanat) → review+
Status: NEW → ASSIGNED
Flags: approval?
Flags: approval? → approval+
Checking in editusers.cgi; /cvsroot/mozilla/webtools/bugzilla/editusers.cgi,v <-- editusers.cgi new revision: 1.135; previous revision: 1.134 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: