Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2694268
D25193.1734776200.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
478 B
Referenced Files
None
Subscribers
None
D25193.1734776200.diff
View Options
diff --git a/src/applications/pholio/controller/PholioImageUploadController.php b/src/applications/pholio/controller/PholioImageUploadController.php
--- a/src/applications/pholio/controller/PholioImageUploadController.php
+++ b/src/applications/pholio/controller/PholioImageUploadController.php
@@ -18,7 +18,7 @@
return new Aphront404Response();
}
- if (!strlen($title)) {
+ if (!phutil_nonempty_string($title)) {
$title = $file->getName();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 10:16 (18 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1022959
Default Alt Text
D25193.1734776200.diff (478 B)
Attached To
Mode
D25193: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Pholio mock preview
Attached
Detach File
Event Timeline
Log In to Comment