aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-04-13 23:02:29 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-04-13 23:02:42 +0200
commit9ef34cd8316a456d29ae3871f70f098c3a141bd9 (patch)
tree4f7378b49e3978995efb35439cc9d6a274d9757a
parent74f0bebfc8e6bb8b547792e8c181f8da08e3bfa5 (diff)
downloadnextcloud-server-9ef34cd8316a456d29ae3871f70f098c3a141bd9.tar.gz
nextcloud-server-9ef34cd8316a456d29ae3871f70f098c3a141bd9.zip
typo
-rw-r--r--lib/filesystemview.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index 3045fc8b88c..95873bd87cf 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -283,12 +283,12 @@ class OC_FilesystemView {
if(OC_Filesystem::isValidPath($path)){
$source=$this->fopen($path,'r');
if($source){
- $extention='';
+ $extension='';
$extOffset=strpos($path,'.');
if($extOffset !== false) {
- $extention=substr($path,strrpos($path,'.'));
+ $extension=substr($path,strrpos($path,'.'));
}
- $tmpFile=OC_Helper::tmpFile($extention);
+ $tmpFile=OC_Helper::tmpFile($extension);
file_put_contents($tmpFile,$source);
return $tmpFile;
}