Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2698287
D25195.1734996631.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
533 B
Referenced Files
None
Subscribers
None
D25195.1734996631.diff
View Options
diff --git a/src/applications/phame/controller/PhameLiveController.php b/src/applications/phame/controller/PhameLiveController.php
--- a/src/applications/phame/controller/PhameLiveController.php
+++ b/src/applications/phame/controller/PhameLiveController.php
@@ -87,7 +87,7 @@
$this->isExternal = $is_external;
$this->isLive = $is_live;
- if (strlen($post_id)) {
+ if (phutil_nonempty_string($post_id)) {
$post_query = id(new PhamePostQuery())
->setViewer($viewer)
->needHeaderImage(true)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 23:30 (18 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027132
Default Alt Text
D25195.1734996631.diff (533 B)
Attached To
Mode
D25195: Fix PHP 8.1 "strlen(null)" exception which blocks blog rendering
Attached
Detach File
Event Timeline
Log In to Comment