Page MenuHomePhorge

D25201.1734994429.diff
No OneTemporary

D25201.1734994429.diff

diff --git a/src/applications/phortune/xaction/PhortuneAccountNameTransaction.php b/src/applications/phortune/xaction/PhortuneAccountNameTransaction.php
--- a/src/applications/phortune/xaction/PhortuneAccountNameTransaction.php
+++ b/src/applications/phortune/xaction/PhortuneAccountNameTransaction.php
@@ -17,7 +17,7 @@
$old = $this->getOldValue();
$new = $this->getNewValue();
- if (strlen($old) && strlen($new)) {
+ if (phutil_nonempty_string($old) && phutil_nonempty_string($new)) {
return pht(
'%s renamed this account from %s to %s.',
$this->renderAuthor(),

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 22:53 (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027128
Default Alt Text
D25201.1734994429.diff (608 B)

Event Timeline