projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91bd36
)
bug 7821 follow-up: escaping {} in regexp
author
Paul Poulain
<paul.poulain@biblibre.com>
Thu, 29 Mar 2012 15:23:50 +0000
(17:23 +0200)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Thu, 29 Mar 2012 15:23:50 +0000
(17:23 +0200)
C4/XSLT.pm
patch
|
blob
|
history
diff --git
a/C4/XSLT.pm
b/C4/XSLT.pm
index
cbdf35b
..
a22f2e5
100644
(file)
--- a/
C4/XSLT.pm
+++ b/
C4/XSLT.pm
@@
-171,9
+171,9
@@
sub XSLTParse4Display {
}
}
- if ( $xslfilename =~ m/
{langcode
}/ ) {
+ if ( $xslfilename =~ m/
\{langcode\
}/ ) {
my $lang = C4::Templates::_current_language;
- $xslfilename =~ s/
{langcode
}/$lang/;
+ $xslfilename =~ s/
\{langcode\
}/$lang/;
}
# grab the XML, run it through our stylesheet, push it out to the browser