Page MenuHomePhorge

D25370.1737378930.diff
No OneTemporary

D25370.1737378930.diff

diff --git a/src/applications/passphrase/view/PassphraseCredentialControl.php b/src/applications/passphrase/view/PassphraseCredentialControl.php
--- a/src/applications/passphrase/view/PassphraseCredentialControl.php
+++ b/src/applications/passphrase/view/PassphraseCredentialControl.php
@@ -50,7 +50,8 @@
// credential. Populate it into the menu to allow them to save the form
// without making any changes.
$current_phid = $this->getValue();
- if (strlen($current_phid) && empty($options_map[$current_phid])) {
+ if (phutil_nonempty_string($current_phid) &&
+ empty($options_map[$current_phid])) {
$viewer = $this->getViewer();
$current_name = null;

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 13:15 (1 d, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108749
Default Alt Text
D25370.1737378930.diff (696 B)

Event Timeline