Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15333935
D18002.id43291.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
748 B
Referenced Files
None
Subscribers
None
D18002.id43291.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D18002: Check for strlen instead of null for Maniphest title
Attached
Detach File
Event Timeline
Log In to Comment