aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2012-04-27 22:47:24 +0200
committerBartek Przybylski <bart.p.pl@gmail.com>2012-04-27 22:48:27 +0200
commit72c0d6968ebb474d731586417cdfeef2ef54f7d2 (patch)
tree95cb97ae84829335e71771f73079d95b0b82784b
parent3aedbc5f950afa41b1ed77b62d6853a405114a3c (diff)
downloadnextcloud-server-72c0d6968ebb474d731586417cdfeef2ef54f7d2.tar.gz
nextcloud-server-72c0d6968ebb474d731586417cdfeef2ef54f7d2.zip
fix duplicated entries on upload
-rw-r--r--apps/files/ajax/upload.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php
index c60e1a3752a..3ac8ef59560 100644
--- a/apps/files/ajax/upload.php
+++ b/apps/files/ajax/upload.php
@@ -31,7 +31,6 @@ foreach ($_FILES['files']['error'] as $error) {
$files=$_FILES['files'];
$dir = $_POST['dir'];
-$dir .= '/';
$error='';
$totalSize=0;