Page MenuHomePhabricator

D18002.id.diff
No OneTemporary

D18002.id.diff

diff --git a/src/applications/maniphest/xaction/ManiphestTaskTitleTransaction.php b/src/applications/maniphest/xaction/ManiphestTaskTitleTransaction.php
--- a/src/applications/maniphest/xaction/ManiphestTaskTitleTransaction.php
+++ b/src/applications/maniphest/xaction/ManiphestTaskTitleTransaction.php
@@ -19,8 +19,8 @@
public function getActionName() {
$old = $this->getOldValue();
- $new = $this->getNewValue();
- if ($old === null) {
+
+ if (!strlen($old)) {
return pht('Created');
}
@@ -29,7 +29,8 @@
public function getTitle() {
$old = $this->getOldValue();
- if ($old === null) {
+
+ if (!strlen($old)) {
return pht(
'%s created this task.',
$this->renderAuthor());

File Metadata

Mime Type
text/plain
Expires
Tue, Sep 16, 3:44 PM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8678849
Default Alt Text
D18002.id.diff (748 B)

Event Timeline