diff options
| -rw-r--r-- | app/Controller/RelationshipController.php | 2 | ||||
| -rw-r--r-- | app/Functions/FunctionsPrintLists.php | 10 | ||||
| -rw-r--r-- | app/Stats.php | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/app/Controller/RelationshipController.php b/app/Controller/RelationshipController.php index b6a4df1513..f8f2d37f80 100644 --- a/app/Controller/RelationshipController.php +++ b/app/Controller/RelationshipController.php @@ -166,7 +166,7 @@ class RelationshipController extends PageController { $queue = array($xref1, $xref2); while (!empty($queue)) { $placeholders = implode(',', array_fill(0, count($queue), '?')); - $parameters = $queue; + $parameters = $queue; $parameters[] = $tree_id; $parents = Database::prepare( diff --git a/app/Functions/FunctionsPrintLists.php b/app/Functions/FunctionsPrintLists.php index 034df96346..4d1b0e8a2d 100644 --- a/app/Functions/FunctionsPrintLists.php +++ b/app/Functions/FunctionsPrintLists.php @@ -1707,24 +1707,24 @@ class FunctionsPrintLists { if ($endjd === WT_CLIENT_JD) { // We're dealing with the Today’s Events block if ($filter === 0) { - $html .= I18N::translate('No events exist for today.'); + $html .= I18N::translate('No events exist for today.'); } else { - $html .= I18N::translate('No events for living individuals exist for today.'); + $html .= I18N::translate('No events for living individuals exist for today.'); } } else { // We're dealing with the Upcoming Events block if ($filter === 0) { if ($endjd === $startjd) { - $html .= I18N::translate('No events exist for tomorrow.'); + $html .= I18N::translate('No events exist for tomorrow.'); } else { $html .= /* I18N: translation for %s==1 is unused; it is translated separately as “tomorrow” */ I18N::plural('No events exist for the next %s day.', 'No events exist for the next %s days.', $endjd - $startjd + 1, I18N::number($endjd - $startjd + 1)); } } else { if ($endjd === $startjd) { - $html .= I18N::translate('No events for living individuals exist for tomorrow.'); + $html .= I18N::translate('No events for living individuals exist for tomorrow.'); } else { // I18N: translation for %s==1 is unused; it is translated separately as “tomorrow” - $html .= I18N::plural('No events for living people exist for the next %s day.', 'No events for living people exist for the next %s days.', $endjd - $startjd + 1, I18N::number($endjd - $startjd + 1)); + $html .= I18N::plural('No events for living people exist for the next %s day.', 'No events for living people exist for the next %s days.', $endjd - $startjd + 1, I18N::number($endjd - $startjd + 1)); } } } diff --git a/app/Stats.php b/app/Stats.php index a199bf6708..23b8622bf3 100644 --- a/app/Stats.php +++ b/app/Stats.php @@ -641,7 +641,7 @@ class Stats { $distinct = 'DISTINCT'; } $params[] = $this->tree->getTreeId(); - $total = + $total = Database::prepare( "SELECT SQL_CACHE COUNT({$distinct} n_surn COLLATE '" . I18N::collation() . "')" . " FROM `##name`" . |
