diff --git a/src/applications/files/controller/list/PhabricatorFileListController.php b/src/applications/files/controller/list/PhabricatorFileListController.php index d1164f5d07..7aa7c24e10 100644 --- a/src/applications/files/controller/list/PhabricatorFileListController.php +++ b/src/applications/files/controller/list/PhabricatorFileListController.php @@ -1,7 +1,7 @@ getName(); $rows[] = array( phutil_escape_html('F'.$file->getID()), $file->getAuthorPHID() @@ -247,7 +248,7 @@ class PhabricatorFileListController extends PhabricatorFileController { array( 'href' => $file->getBestURI(), ), - phutil_escape_html($file->getName())), + ($name != '' ? phutil_escape_html($name) : 'no name')), phutil_escape_html(number_format($file->getByteSize()).' bytes'), phutil_render_tag( 'a',