Page MenuHomePhorge

D25484.1737313844.diff
No OneTemporary

D25484.1737313844.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
Sun, Jan 19, 19:10 (17 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1109409
Default Alt Text
D25484.1737313844.diff (864 B)

Event Timeline