Page MenuHomePhorge

D25867.1740055075.diff
No OneTemporary

D25867.1740055075.diff

diff --git a/src/applications/auth/xaction/PhabricatorAuthFactorProviderNameTransaction.php b/src/applications/auth/xaction/PhabricatorAuthFactorProviderNameTransaction.php
--- a/src/applications/auth/xaction/PhabricatorAuthFactorProviderNameTransaction.php
+++ b/src/applications/auth/xaction/PhabricatorAuthFactorProviderNameTransaction.php
@@ -17,12 +17,12 @@
$old = $this->getOldValue();
$new = $this->getNewValue();
- if (!strlen($old)) {
+ if (!phutil_nonempty_string($old)) {
return pht(
'%s named this provider %s.',
$this->renderAuthor(),
$this->renderNewValue());
- } else if (!strlen($new)) {
+ } else if (!phutil_nonempty_string($new)) {
return pht(
'%s removed the name (%s) of this provider.',
$this->renderAuthor(),

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 20, 12:37 (3 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1165146
Default Alt Text
D25867.1740055075.diff (815 B)

Event Timeline