mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 08:12:40 +01:00
Fix arc browse
for php 8.x
Summary: Ref T15064 Test Plan: Run `arc browse <filename>`, get a browser and no exception. Reviewers: O1 Blessed Committers, valerio.bozzolan, chris Reviewed By: O1 Blessed Committers, chris Subscribers: speck, tobiaswiese, Matthew, Cigaryno Maniphest Tasks: T15064 Differential Revision: https://we.phorge.it/D25309
This commit is contained in:
parent
8130241a11
commit
8426ebc053
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ final class ArcanistRepositoryRef
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach ($params as $key => $value) {
|
foreach ($params as $key => $value) {
|
||||||
if (!strlen($value)) {
|
if ($value === null || !strlen($value)) {
|
||||||
unset($params[$key]);
|
unset($params[$key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue