projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ace984
)
Form::error nur als Instanz-, nicht als Klassenmethode aufrufen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 22 May 2012 06:25:44 +0000
(08:25 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 22 May 2012 06:25:44 +0000
(08:25 +0200)
Fix für 1892.
SL/Inifile.pm
patch
|
blob
|
history
diff --git
a/SL/Inifile.pm
b/SL/Inifile.pm
index
6895d60
..
43689d1
100644
(file)
--- a/
SL/Inifile.pm
+++ b/
SL/Inifile.pm
@@
-51,7
+51,7
@@
sub new {
my $self = { "FILE" => $file };
- open FH, "$file" or
F
orm->error("$file : $!");
+ open FH, "$file" or
$::f
orm->error("$file : $!");
while (<FH>) {
chomp;
@@
-101,7
+101,7
@@
sub write {
my ($self) = @_;
my $file = $self->{FILE};
- my $fh = IO::File->new($file, "w") ||
F
orm->error("$file : $!");
+ my $fh = IO::File->new($file, "w") ||
$::f
orm->error("$file : $!");
foreach my $section_name (sort keys %{ $self }) {
next if $section_name =~ m/^[A-Z]+$/;
@@
-118,4
+118,3
@@
sub write {
}
1;
-