Page MenuHomePhorge

D25277.1726939435.diff
No OneTemporary

D25277.1726939435.diff

diff --git a/src/applications/repository/xaction/PhabricatorRepositorySVNSubpathTransaction.php b/src/applications/repository/xaction/PhabricatorRepositorySVNSubpathTransaction.php
--- a/src/applications/repository/xaction/PhabricatorRepositorySVNSubpathTransaction.php
+++ b/src/applications/repository/xaction/PhabricatorRepositorySVNSubpathTransaction.php
@@ -17,12 +17,12 @@
$old = $this->getOldValue();
$new = $this->getNewValue();
- if (!strlen($new)) {
+ if ($new === null || !strlen($new)) {
return pht(
'%s removed %s as the "Import Only" path.',
$this->renderAuthor(),
$this->renderOldValue());
- } else if (!strlen($old)) {
+ } else if ($old === null || !$old) {
return pht(
'%s set the repository "Import Only" path to %s.',
$this->renderAuthor(),

File Metadata

Mime Type
text/plain
Expires
Sat, Sep 21, 17:23 (19 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
893983
Default Alt Text
D25277.1726939435.diff (844 B)

Event Timeline