mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 354304: Changing several bugs at once fails if aliases are in use - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=mkanat a=myk
This commit is contained in:
parent
e06a3a332a
commit
f4e43f6d10
@ -162,9 +162,9 @@ sub new {
|
||||
|
||||
# If we get something that looks like a word (not a number),
|
||||
# make it the "name" param.
|
||||
if (!ref($param) && $param !~ /^\d+$/) {
|
||||
if (!defined $param || (!ref($param) && $param !~ /^\d+$/)) {
|
||||
# But only if aliases are enabled.
|
||||
if (Bugzilla->params->{'usebugaliases'}) {
|
||||
if (Bugzilla->params->{'usebugaliases'} && $param) {
|
||||
$param = { name => $param };
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user