Page MenuHomePhorge

D25383.1732576173.diff
No OneTemporary

D25383.1732576173.diff

diff --git a/src/workflow/ArcanistWorkflow.php b/src/workflow/ArcanistWorkflow.php
--- a/src/workflow/ArcanistWorkflow.php
+++ b/src/workflow/ArcanistWorkflow.php
@@ -480,7 +480,7 @@
// token-based authentication. Use that instead of all the certificate
// stuff.
$token = idx($credentials, 'token', '');
- if (strlen($token)) {
+ if (phutil_nonempty_string($token)) {
$conduit = $this->getConduit();
$conduit->setConduitToken($token);

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 23:09 (21 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
995845
Default Alt Text
D25383.1732576173.diff (488 B)

Event Timeline