Page MenuHomePhorge

D25282.1739971863.diff
No OneTemporary

D25282.1739971863.diff

diff --git a/src/applications/repository/xaction/PhabricatorRepositoryStagingURITransaction.php b/src/applications/repository/xaction/PhabricatorRepositoryStagingURITransaction.php
--- a/src/applications/repository/xaction/PhabricatorRepositoryStagingURITransaction.php
+++ b/src/applications/repository/xaction/PhabricatorRepositoryStagingURITransaction.php
@@ -17,12 +17,12 @@
$old = $this->getOldValue();
$new = $this->getNewValue();
- if (!strlen($old)) {
+ if (!phutil_nonempty_string($old)) {
return pht(
'%s set %s as the staging area for this repository.',
$this->renderAuthor(),
$this->renderNewValue());
- } else if (!strlen($new)) {
+ } else if (!phutil_nonempty_string($new)) {
return pht(
'%s removed %s as the staging area for this repository.',
$this->renderAuthor(),

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 19, 13:31 (2 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147171
Default Alt Text
D25282.1739971863.diff (867 B)

Event Timeline