From 036f60865172bc36e1468afd64d5ac775fa39529 Mon Sep 17 00:00:00 2001 From: tetragon Date: Tue, 5 Dec 2006 04:53:13 +0000 Subject: Converting 2-arg open to 3-arg open git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@720 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/AM.pm | 10 +++++----- LedgerSMB/BP.pm | 4 ++-- LedgerSMB/Form.pm | 24 ++++++++++++------------ LedgerSMB/Inifile.pm | 2 +- LedgerSMB/User.pm | 2 +- LedgerSMB/locales.pl | 10 +++++----- 6 files changed, 26 insertions(+), 26 deletions(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm index 15ea3e33..23f5658b 100755 --- a/LedgerSMB/AM.pm +++ b/LedgerSMB/AM.pm @@ -1278,7 +1278,7 @@ sub load_template { my ($self, $myconfig, $form) = @_; $self->check_template_name(\%$myconfig, \%$form); - open(TEMPLATE, "$form->{file}") or $form->error("$form->{file} : $!"); + open(TEMPLATE, '<', "$form->{file}") or $form->error("$form->{file} : $!"); while (