Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2694297
D25185.1734777496.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
581 B
Referenced Files
None
Subscribers
None
D25185.1734777496.diff
View Options
diff --git a/src/applications/spaces/xaction/PhabricatorSpacesNamespaceNameTransaction.php b/src/applications/spaces/xaction/PhabricatorSpacesNamespaceNameTransaction.php
--- a/src/applications/spaces/xaction/PhabricatorSpacesNamespaceNameTransaction.php
+++ b/src/applications/spaces/xaction/PhabricatorSpacesNamespaceNameTransaction.php
@@ -15,7 +15,7 @@
public function getTitle() {
$old = $this->getOldValue();
- if (!strlen($old)) {
+ if (!phutil_nonempty_string($old)) {
return pht(
'%s created this space.',
$this->renderAuthor());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 10:38 (17 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1023020
Default Alt Text
D25185.1734777496.diff (581 B)
Attached To
Mode
D25185: Fix PHP 8.1 "strlen(null)" exception which blocks Space creation
Attached
Detach File
Event Timeline
Log In to Comment