Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2899360
D25556.1737261612.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
611 B
Referenced Files
None
Subscribers
None
D25556.1737261612.diff
View Options
diff --git a/src/applications/project/typeahead/PhabricatorProjectDatasource.php b/src/applications/project/typeahead/PhabricatorProjectDatasource.php
--- a/src/applications/project/typeahead/PhabricatorProjectDatasource.php
+++ b/src/applications/project/typeahead/PhabricatorProjectDatasource.php
@@ -96,7 +96,7 @@
// If we're building results for the autocompleter and this project
// doesn't have any usable slugs, don't return it as a result.
- if ($for_autocomplete && !strlen($slug)) {
+ if ($for_autocomplete && !phutil_nonempty_string($slug)) {
continue;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 04:40 (4 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1117914
Default Alt Text
D25556.1737261612.diff (611 B)
Attached To
Mode
D25556: Fix PHP 8.1 "strlen(null)" exception querying project tags for autocomplete without additional hashtag slugs defined
Attached
Detach File
Event Timeline
Log In to Comment