Page MenuHomePhorge

D25289.1726932400.diff
No OneTemporary

D25289.1726932400.diff

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

File Metadata

Mime Type
text/plain
Expires
Sat, Sep 21, 15:26 (22 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
893972
Default Alt Text
D25289.1726932400.diff (818 B)

Event Timeline