aboutsummaryrefslogtreecommitdiffstats
path: root/include/RedDAV
diff options
context:
space:
mode:
Diffstat (limited to 'include/RedDAV')
-rw-r--r--include/RedDAV/RedFile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/RedDAV/RedFile.php b/include/RedDAV/RedFile.php
index 2bc3f40e5..3283a6e88 100644
--- a/include/RedDAV/RedFile.php
+++ b/include/RedDAV/RedFile.php
@@ -127,7 +127,7 @@ class RedFile extends DAV\Node implements DAV\IFile {
}
$fname = dbunescbin($d[0]['data']);
if(strpos($fname,'store') === false)
- $f = 'store/' . $this->auth->owner_nick . '/' . (($fname) ? $fname : '');
+ $f = 'store/' . $this->auth->owner_nick . '/' . $fname ;
else
$f = $fname;