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:
2d88163
)
uri_decode: nur "undef" abfangen, nicht auch andere im Perl-Sinne "0"-Werte
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 25 Feb 2013 08:31:44 +0000
(09:31 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 25 Feb 2013 08:31:44 +0000
(09:31 +0100)
Fixt #2182.
SL/MoreCommon.pm
patch
|
blob
|
history
diff --git
a/SL/MoreCommon.pm
b/SL/MoreCommon.pm
index
6fbf87d
..
dfc5a7d
100644
(file)
--- a/
SL/MoreCommon.pm
+++ b/
SL/MoreCommon.pm
@@
-171,7
+171,7
@@
sub uri_encode {
}
sub uri_decode {
- my $str = $_[0]
||
'';
+ my $str = $_[0]
//
'';
$str =~ tr/+/ /;
$str =~ s/\\$//;