1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-20 10:48:40 +01:00

Fix two errors from the error logs

Summary: Found these in the `secure` error logs: one bad call, one bad column.

Test Plan: Searched for empty string. Double-checked method name.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D16948
This commit is contained in:
epriestley 2016-11-26 06:07:55 -08:00
parent 7c5b5327c8
commit b2cdebefea
2 changed files with 2 additions and 2 deletions

View file

@ -238,7 +238,7 @@ final class PhabricatorMySQLFulltextStorageEngine
} else {
$select[] = qsprintf(
$conn,
'document.dateCreated AS fieldScore');
'document.documentCreated AS fieldScore');
}
$exclude = $query->getParameter('exclude');

View file

@ -635,7 +635,7 @@ final class PhabricatorDatabaseRef
$application_replicas = array();
$default_replicas = array();
foreach ($replicas as $replica) {
$master = $replica->getMaster();
$master = $replica->getMasterRef();
if ($master->isApplicationHost($application)) {
$application_replicas[] = $replica;