From ee9830a950d382110cc43dacd1c15f1d2997e423 Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Fri, 2 Aug 2013 11:20:25 -0700 Subject: [PATCH] Fix a small bug - %d => %s Summary: easy peasy. noticed it trying to fix an image. Test Plan: can fix image by phid once more! Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6659 --- .../files/management/PhabricatorFilesManagementWorkflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(