Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2942615
D25176.1738123331.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
351 B
Referenced Files
None
Subscribers
None
D25176.1738123331.diff
View Options
diff --git a/src/utils/utils.php b/src/utils/utils.php
--- a/src/utils/utils.php
+++ b/src/utils/utils.php
@@ -908,7 +908,7 @@
* @phutil-external-symbol function phutil_safe_html
*/
function phutil_split_lines($corpus, $retain_endings = true) {
- if (!strlen($corpus)) {
+ if (!phutil_nonempty_string($corpus)) {
return array('');
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 29, 04:02 (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1140476
Default Alt Text
D25176.1738123331.diff (351 B)
Attached To
Mode
D25176: Fix PHP 8.1 "strlen(null)" exception which blocks creating a project with an empty Description field
Attached
Detach File
Event Timeline
Log In to Comment