Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2925230
D25194.1737602510.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
463 B
Referenced Files
None
Subscribers
None
D25194.1737602510.diff
View Options
diff --git a/src/applications/phame/storage/PhameBlog.php b/src/applications/phame/storage/PhameBlog.php
--- a/src/applications/phame/storage/PhameBlog.php
+++ b/src/applications/phame/storage/PhameBlog.php
@@ -169,7 +169,7 @@
}
public function getLiveURI() {
- if (strlen($this->getDomain())) {
+ if (phutil_nonempty_string($this->getDomain())) {
return $this->getExternalLiveURI();
} else {
return $this->getInternalLiveURI();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 23, 03:21 (4 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1126074
Default Alt Text
D25194.1737602510.diff (463 B)
Attached To
Mode
D25194: Fix PHP 8.1 "strlen(null)" exception which blocks blog creation
Attached
Detach File
Event Timeline
Log In to Comment