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:
0bc6217
)
Webdav-Feature: Pfadtrennzeichen aus den Nummern (Angebotsnummer, Rechnungsnummer...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 13 Jun 2007 08:53:22 +0000
(08:53 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 13 Jun 2007 08:53:22 +0000
(08:53 +0000)
SL/Common.pm
patch
|
blob
|
history
diff --git
a/SL/Common.pm
b/SL/Common.pm
index
fdf2b28
..
9c83c7d
100644
(file)
--- a/
SL/Common.pm
+++ b/
SL/Common.pm
@@
-280,6
+280,8
@@
sub webdav_folder {
return $main::lxdebug->leave_sub() unless ($path && $number);
+ $number =~ s|[/\\]|_|g;
+
$path = "webdav/${path}/${number}";
if (!-d $path) {