summaryrefslogtreecommitdiff
path: root/LedgerSMB/Template/PS.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Template/PS.pm')
-rwxr-xr-xLedgerSMB/Template/PS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Template/PS.pm b/LedgerSMB/Template/PS.pm
index 9833dba1..ca80066b 100755
--- a/LedgerSMB/Template/PS.pm
+++ b/LedgerSMB/Template/PS.pm
@@ -57,7 +57,7 @@ sub preprocess {
for (@{$rawvars}) {
push @{$vars}, preprocess($_);
}
- } else (!$type) {
+ } elsif (!$type) {
#XXX Fix escaping
$rawvars =~ s/([&\$\\_<>~^#\%\{\}])/\\$1/g;
$rawvars =~ s/"(.*)"/``$1''/gs;