diff --git a/main/document/document.php b/main/document/document.php index fbf768beec..6284febba6 100644 --- a/main/document/document.php +++ b/main/document/document.php @@ -1,4 +1,4 @@ -':''; $invisibility_span_close = ($id['visibility']==0)?'':''; //size (or total size of a directory) - $size = $id['filetype']=='folder' ? get_total_folder_size($id['path'],$is_allowed_to_edit) : $id[size]; + $size = $id['filetype']=='folder' ? get_total_folder_size($id['path'],$is_allowed_to_edit) : $id['size']; //get the title or the basename depending on what we're using if ($use_document_title=='true' AND $id['title']<>'') {