Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2682675
D25484.1734667688.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
864 B
Referenced Files
None
Subscribers
None
D25484.1734667688.diff
View Options
diff --git a/src/applications/repository/management/PhabricatorRepositoryManagementMovePathsWorkflow.php b/src/applications/repository/management/PhabricatorRepositoryManagementMovePathsWorkflow.php
--- a/src/applications/repository/management/PhabricatorRepositoryManagementMovePathsWorkflow.php
+++ b/src/applications/repository/management/PhabricatorRepositoryManagementMovePathsWorkflow.php
@@ -38,14 +38,14 @@
}
$from = $args->getArg('from');
- if (!strlen($from)) {
+ if (!phutil_nonempty_string($from)) {
throw new Exception(
pht(
'You must specify a path prefix to move from with --from.'));
}
$to = $args->getArg('to');
- if (!strlen($to)) {
+ if (!phutil_nonempty_string($to)) {
throw new Exception(
pht(
'You must specify a path prefix to move to with --to.'));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 04:08 (20 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016511
Default Alt Text
D25484.1734667688.diff (864 B)
Attached To
Mode
D25484: fix PHP 8 "strlen(null)" when moving paths with missing options
Attached
Detach File
Event Timeline
Log In to Comment