1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00

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
This commit is contained in:
Bob Trahan 2013-08-02 11:20:25 -07:00
parent f0857e4fd8
commit ee9830a950

View file

@ -33,7 +33,7 @@ abstract class PhabricatorFilesManagementWorkflow
}
} else {
$file = id(new PhabricatorFile())->loadOneWhere(
'phid = %d',
'phid = %s',
$name);
if (!$file) {
throw new PhutilArgumentUsageException(