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:
@@ -33,7 +33,7 @@ abstract class PhabricatorFilesManagementWorkflow
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$file = id(new PhabricatorFile())->loadOneWhere(
|
$file = id(new PhabricatorFile())->loadOneWhere(
|
||||||
'phid = %d',
|
'phid = %s',
|
||||||
$name);
|
$name);
|
||||||
if (!$file) {
|
if (!$file) {
|
||||||
throw new PhutilArgumentUsageException(
|
throw new PhutilArgumentUsageException(
|
||||||
|
|||||||
Reference in New Issue
Block a user