summaryrefslogtreecommitdiff
path: root/LedgerSMB/Form.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Form.pm')
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index baacb1ab..03d9900d 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -688,7 +688,7 @@ sub parse_template {
}
else {
- open( IN, "$self->{templates}/$self->{IN}" )
+ open( IN, '<', "$self->{templates}/$self->{IN}" )
or $self->error("$self->{IN} : $!");
}