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:
0e7fc8b
)
Kosmetik: Einige Anfuehrungszeichen gequotet, um Syntaxhighlighting zu erleichtern.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 21 Feb 2006 09:50:43 +0000
(09:50 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 21 Feb 2006 09:50:43 +0000
(09:50 +0000)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
e7fea51
..
fe9d2b8
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-197,7
+197,7
@@
sub quote {
my ($self, $str) = @_;
if ($str && !ref($str)) {
- $str =~ s/"/"/g;
+ $str =~ s/
\
"/"/g;
}
$str;
@@
-208,7
+208,7
@@
sub unquote {
my ($self, $str) = @_;
if ($str && !ref($str)) {
- $str =~ s/"/"/g;
+ $str =~ s/"/
\
"/g;
}
$str;
@@
-692,7
+692,7
@@
sub parse_amount {
}
if ($myconfig->{numberformat} eq "1'000.00") {
- $amount =~ s/'//g;
+ $amount =~ s/
\
'//g;
}
$amount =~ s/,//g;