1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Fixed a bug in Image Macros where the image URL was wrong

Summary: Image URLs were accidentally inaccurate due to the macro ID being overwritten by the file ID when searching for users

Test Plan: Visited the macro page and searched for my own macros. They are now clickable.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T3193

Differential Revision: https://secure.phabricator.com/D5936
This commit is contained in:
Zoe Cat 2013-05-15 09:05:30 -07:00 committed by epriestley
parent ff4073c2f4
commit d362732118

View file

@ -52,7 +52,7 @@ final class PhabricatorMacroQuery
$rows = queryfx_all(
$conn,
'SELECT * FROM %T m %Q %Q %Q %Q',
'SELECT m.* FROM %T m %Q %Q %Q %Q',
$macro_table->getTableName(),
$this->buildJoinClause($conn),
$this->buildWhereClause($conn),