mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-22 03:29:11 +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:
parent
7c5b5327c8
commit
b2cdebefea
2 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ final class PhabricatorMySQLFulltextStorageEngine
|
||||||
} else {
|
} else {
|
||||||
$select[] = qsprintf(
|
$select[] = qsprintf(
|
||||||
$conn,
|
$conn,
|
||||||
'document.dateCreated AS fieldScore');
|
'document.documentCreated AS fieldScore');
|
||||||
}
|
}
|
||||||
|
|
||||||
$exclude = $query->getParameter('exclude');
|
$exclude = $query->getParameter('exclude');
|
||||||
|
|
|
@ -635,7 +635,7 @@ final class PhabricatorDatabaseRef
|
||||||
$application_replicas = array();
|
$application_replicas = array();
|
||||||
$default_replicas = array();
|
$default_replicas = array();
|
||||||
foreach ($replicas as $replica) {
|
foreach ($replicas as $replica) {
|
||||||
$master = $replica->getMaster();
|
$master = $replica->getMasterRef();
|
||||||
|
|
||||||
if ($master->isApplicationHost($application)) {
|
if ($master->isApplicationHost($application)) {
|
||||||
$application_replicas[] = $replica;
|
$application_replicas[] = $replica;
|
||||||
|
|
Loading…
Add table
Reference in a new issue