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 @@ -746,7 +746,7 @@ } $raw_branch = $branch; - if (phutil_nonempty_string($branch)) { + if (phutil_nonempty_scalar($branch)) { $branch = phutil_escape_uri_path_component($branch); $path = "{$branch}/{$path}"; }