Page MenuHomePhorge

D25277.1738041324.diff
No OneTemporary

D25277.1738041324.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
Tue, Jan 28, 05:15 (3 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1135556
Default Alt Text
D25277.1738041324.diff (844 B)

Event Timeline