diff --git a/src/applications/files/management/PhabricatorFilesManagementWorkflow.php b/src/applications/files/management/PhabricatorFilesManagementWorkflow.php index 760e922b58..4272122802 100644 --- a/src/applications/files/management/PhabricatorFilesManagementWorkflow.php +++ b/src/applications/files/management/PhabricatorFilesManagementWorkflow.php @@ -33,7 +33,7 @@ abstract class PhabricatorFilesManagementWorkflow } } else { $file = id(new PhabricatorFile())->loadOneWhere( - 'phid = %d', + 'phid = %s', $name); if (!$file) { throw new PhutilArgumentUsageException(