Page MenuHomePhorge

D25484.1734667688.diff
No OneTemporary

D25484.1734667688.diff

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

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)

Event Timeline