]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix a test failure caused by the bug-columns hook.
authormkanat%bugzilla.org <>
Fri, 22 Aug 2008 04:30:40 +0000 (04:30 +0000)
committermkanat%bugzilla.org <>
Fri, 22 Aug 2008 04:30:40 +0000 (04:30 +0000)
Bugzilla/Bug.pm

index 57ba68ac25b8b1a9d03bb153c94fb59759b703aa..b367954e656c91f319e59f2d5f9d4ccf35e30426 100644 (file)
@@ -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;
 }