Page MenuHomePhorge

D25161.1730336859.diff
No OneTemporary

D25161.1730336859.diff

diff --git a/src/applications/auth/controller/PhabricatorAuthSSHKeyEditController.php b/src/applications/auth/controller/PhabricatorAuthSSHKeyEditController.php
--- a/src/applications/auth/controller/PhabricatorAuthSSHKeyEditController.php
+++ b/src/applications/auth/controller/PhabricatorAuthSSHKeyEditController.php
@@ -54,7 +54,7 @@
$cancel_uri);
$v_name = $key->getName();
- $e_name = strlen($v_name) ? null : true;
+ $e_name = phutil_nonempty_string($v_name) ? null : true;
$v_key = $key->getEntireKey();
$e_key = strlen($v_key) ? null : true;

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 31, 01:07 (11 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
953866
Default Alt Text
D25161.1730336859.diff (583 B)

Event Timeline