Page MenuHomePhorge

D25201.1734975796.diff
No OneTemporary

D25201.1734975796.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, 17:43 (14 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027128
Default Alt Text
D25201.1734975796.diff (608 B)

Event Timeline