[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-142-gb7e5779
Emannuel Lacour
elacour at bestpractical.com
Mon Aug 30 11:33:42 EDT 2010
The branch, 3.8-trunk has been updated
via b7e577998573e4559890183a7444ab4e15814939 (commit)
from a72ae4420483352a08d0ecb7ea656b86e979f7f5 (commit)
Summary of changes:
share/html/Search/Elements/BuildFormatString | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit b7e577998573e4559890183a7444ab4e15814939
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date: Mon Aug 30 17:34:20 2010 +0200
Fix a bug that makes unable to remove first item in search format
diff --git a/share/html/Search/Elements/BuildFormatString b/share/html/Search/Elements/BuildFormatString
index 60f0faf..d6bd306 100644
--- a/share/html/Search/Elements/BuildFormatString
+++ b/share/html/Search/Elements/BuildFormatString
@@ -146,7 +146,7 @@ if ( $RemoveCol ) {
# we do this regex match to avoid a non-numeric warning
my ($index) = $CurrentDisplayColumns =~ /^(\d+)/;
my $column = $seen[$index];
- if ($index) {
+ if ( defined($index) ) {
delete $seen[$index];
my @temp = @seen;
@seen = ();
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list