summaryrefslogtreecommitdiff
path: root/LedgerSMB/Inifile.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-05 04:21:13 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-05 04:21:13 +0000
commita4183b2fdd19d83c7705c423623c117c4118860f (patch)
treedeea607f3e64d2f73156138f7bee96e234c32598 /LedgerSMB/Inifile.pm
parent6eb1b88d9ac9fde4efca4668b99d9628f0a9cd10 (diff)
Converting 2-arg open to 3-arg open
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@719 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Inifile.pm')
-rwxr-xr-xLedgerSMB/Inifile.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Inifile.pm b/LedgerSMB/Inifile.pm
index 9922c63c..839c19f3 100755
--- a/LedgerSMB/Inifile.pm
+++ b/LedgerSMB/Inifile.pm
@@ -57,7 +57,7 @@ sub add_file {
for (@{$self->{ORDER}}) { $menuorder{$_} = 1 }
- open FH, "$file" or Form->error("$file : $!");
+ open FH, '<', "$file" or Form->error("$file : $!");
while (<FH>) {
next if /^(#|;|\s)/;