Page MenuHomePhabricator

D18002.id43291.diff
No OneTemporary

D18002.id43291.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
Sun, Mar 9, 5:44 AM (3 w, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7386863
Default Alt Text
D18002.id43291.diff (748 B)

Event Timeline