Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2653820
D25383.1732576173.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
488 B
Referenced Files
None
Subscribers
None
D25383.1732576173.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25383: Fix a PHP 8.1/8.2 deprecated use of strlen deprecated call with a NULL argument
Attached
Detach File
Event Timeline
Log In to Comment