[Rt-commit] r7876 - in rt/branches/3.7-EXPERIMENTAL-TUNIS:
html/Search/Elements
clsung at bestpractical.com
clsung at bestpractical.com
Tue May 15 22:26:17 EDT 2007
Author: clsung
Date: Tue May 15 22:26:17 2007
New Revision: 7876
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/ (props changed)
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Search/Elements/BuildFormatString
Log:
r1072 at going04: clsung | 2007-05-15 09:07:02 +0800
- fix warning
- hash intialize => () instead of undef
- Format ||=
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Search/Elements/BuildFormatString
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Search/Elements/BuildFormatString (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Search/Elements/BuildFormatString Tue May 15 22:26:17 2007
@@ -48,7 +48,7 @@
<%ARGS>
$Format => RT->Config->Get('DefaultSearchResultFormat')
-%cfqueues => undef
+%cfqueues => ()
$Face => undef
$Size => undef
@@ -121,6 +121,7 @@
my ( @seen);
+$Format ||= RT->Config->Get('DefaultSearchResultFormat');
my @format = split( /,\s*/, $Format );
foreach my $field (@format) {
my %column = ();
More information about the Rt-commit
mailing list