Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2703824
D25244.1735117116.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
1014 B
Referenced Files
None
Subscribers
None
D25244.1735117116.diff
View Options
diff --git a/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php b/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
--- a/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
+++ b/src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
@@ -41,7 +41,7 @@
$parts[] = $name;
$slug = $repository->getRepositorySlug();
- if (strlen($slug)) {
+ if (phutil_nonempty_string($slug)) {
$parts[] = $slug;
}
diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php
--- a/src/applications/repository/storage/PhabricatorRepository.php
+++ b/src/applications/repository/storage/PhabricatorRepository.php
@@ -217,7 +217,7 @@
$monograms[] = 'R'.$this->getID();
$callsign = $this->getCallsign();
- if (strlen($callsign)) {
+ if (phutil_nonempty_string($callsign)) {
$monograms[] = 'r'.$callsign;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 08:58 (6 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1028447
Default Alt Text
D25244.1735117116.diff (1014 B)
Attached To
Mode
D25244: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Browse Repositories overlay dialog
Attached
Detach File
Event Timeline
Log In to Comment