Page MenuHomePhabricator

D7605.diff
No OneTemporary

D7605.diff

Index: src/applications/paste/controller/PhabricatorPasteViewController.php
===================================================================
--- src/applications/paste/controller/PhabricatorPasteViewController.php
+++ src/applications/paste/controller/PhabricatorPasteViewController.php
@@ -157,8 +157,10 @@
}
private function buildHeaderView(PhabricatorPaste $paste) {
+ $title = (nonempty($paste->getTitle())) ?
+ $paste->getTitle() : pht('(An Untitled Masterwork)');
$header = id(new PHUIHeaderView())
- ->setHeader($paste->getTitle())
+ ->setHeader($title)
->setUser($this->getRequest()->getUser())
->setPolicyObject($paste);

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 10:31 PM (4 d, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6747902
Default Alt Text
D7605.diff (680 B)

Event Timeline