summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-02-11 17:55:44 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-02-11 17:55:44 -0500
commit808a13922c8bc002e697f3bbe84be70a2c715cf6 (patch)
treec4623acda15fa7384f8bd71cfec0239ff420b194 /apps/files_external/lib
parent04bf8c1b66d6adef0466efae00c32745465767f2 (diff)
downloadnextcloud-server-808a13922c8bc002e697f3bbe84be70a2c715cf6.tar.gz
nextcloud-server-808a13922c8bc002e697f3bbe84be70a2c715cf6.zip
Remove the leading slash from the filename for opendir
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/google.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php
index 7396c7e3f27..f9bd4075f3e 100644
--- a/apps/files_external/lib/google.php
+++ b/apps/files_external/lib/google.php
@@ -268,7 +268,7 @@ class Google extends \OC\Files\Storage\Common {
$name .= '.'.$extension;
}
}
- $files[] = $name;
+ $files[] = basename($name);
// Cache entry for future use
$this->entries[$name] = $entry;
}