summaryrefslogtreecommitdiff
path: root/rt/share/html/Elements/CollectionAsTable/ParseFormat
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-05-27 15:20:05 -0700
committerIvan Kohler <ivan@freeside.biz>2014-05-30 13:00:41 -0700
commit0ea23112cfa0d82738b0f08d60d90579721b7524 (patch)
tree392dee3654d0f3839944f748819a39c8ce20192c /rt/share/html/Elements/CollectionAsTable/ParseFormat
parent60dd95422a1ad4724e0c5d9dd7f8e8878cd96aa8 (diff)
rt 4.0.20 (RT#13852)
Diffstat (limited to 'rt/share/html/Elements/CollectionAsTable/ParseFormat')
-rw-r--r--rt/share/html/Elements/CollectionAsTable/ParseFormat3
1 files changed, 1 insertions, 2 deletions
diff --git a/rt/share/html/Elements/CollectionAsTable/ParseFormat b/rt/share/html/Elements/CollectionAsTable/ParseFormat
index e56e9ce0f..5d55ffbeb 100644
--- a/rt/share/html/Elements/CollectionAsTable/ParseFormat
+++ b/rt/share/html/Elements/CollectionAsTable/ParseFormat
@@ -55,6 +55,7 @@ my @Columns;
while ($Format =~ /($RE{delimited}{-delim=>qq{\'"}}|[{}\w.]+)/go) {
my $col = $1;
+ my $colref = { original_string => $col };
if ($col =~ /^$RE{quoted}$/o) {
substr($col,0,1) = "";
@@ -62,8 +63,6 @@ while ($Format =~ /($RE{delimited}{-delim=>qq{\'"}}|[{}\w.]+)/go) {
$col =~ s/\\(.)/$1/g;
}
- my $colref = { };
-
$m->callback(CallbackName => 'PreColumn', Column => $colref, col => \$col);
while ( $col =~ s{/(STYLE|CLASS|TITLE|ALIGN|SPAN|ATTRIBUTE):([^/]*)}{}i ) {