Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2940173
D25277.1738041324.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
844 B
Referenced Files
None
Subscribers
None
D25277.1738041324.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25277: PHP 8.1 "strlen(null)" exception on SVN History page after changing "Import Only"
Attached
Detach File
Event Timeline
Log In to Comment