Page MenuHomePhorge

D25161.1732376107.diff
No OneTemporary

D25161.1732376107.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
Sat, Nov 23, 15:35 (18 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
991602
Default Alt Text
D25161.1732376107.diff (583 B)

Event Timeline