Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2698244
D25201.1734994429.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
608 B
Referenced Files
None
Subscribers
None
D25201.1734994429.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25201: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Phortune account page
Attached
Detach File
Event Timeline
Log In to Comment