diff options
Diffstat (limited to 'files/index.php')
-rw-r--r-- | files/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/index.php b/files/index.php index e06ab552632..e88f0ef23e5 100644 --- a/files/index.php +++ b/files/index.php @@ -49,7 +49,7 @@ foreach( OC_FILES::getdirectorycontent( $dir ) as $i ){ $i["date"] = OC_UTIL::formatDate($i["mtime"] ); if($i['type']=='file'){ $i['extention']=substr($i['name'],strrpos($i['name'],'.')); - $i['name']=substr($i['name'],0,strrpos($i['name'],'.')); + $i['basename']=substr($i['name'],0,strrpos($i['name'],'.')); } if($i['directory']=='/'){ $i['directory']=''; |