Page MenuHomePhorge

D25289.1734769709.diff
No OneTemporary

D25289.1734769709.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, Dec 21, 08:28 (2 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1017258
Default Alt Text
D25289.1734769709.diff (818 B)

Event Timeline