summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-08-22 06:30:40 +0200
committermkanat%bugzilla.org <>2008-08-22 06:30:40 +0200
commitfed8e66bbd70a815fee8c7f16936dd77651bd31f (patch)
tree2e77e34dc2c234597474a1477aa415e8aefea218
parent04ed105cb2a9b4c81b040745dee25f70572f1601 (diff)
downloadbugzilla-fed8e66bbd70a815fee8c7f16936dd77651bd31f.tar.gz
bugzilla-fed8e66bbd70a815fee8c7f16936dd77651bd31f.tar.xz
Fix a test failure caused by the bug-columns hook.
-rw-r--r--Bugzilla/Bug.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 57ba68ac2..b367954e6 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -73,8 +73,7 @@ sub DB_COLUMNS {
Bugzilla->active_custom_fields;
my @custom_names = map {$_->name} @custom;
- my @columns =
- qw(
+ my @columns = (qw(
alias
assigned_to
bug_file_loc
@@ -102,9 +101,9 @@ sub DB_COLUMNS {
'reporter AS reporter_id',
$dbh->sql_date_format('creation_ts', '%Y.%m.%d %H:%i') . ' AS creation_ts',
$dbh->sql_date_format('deadline', '%Y-%m-%d') . ' AS deadline',
- @custom_names;
+ @custom_names);
- Bugzilla::Hook::process("bug-columns", {'columns' => \@columns} );
+ Bugzilla::Hook::process("bug-columns", { columns => \@columns });
return @columns;
}