diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2025-02-11 23:38:57 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2025-02-11 23:38:57 +0000 |
| commit | 9585364983e25810fe6ba9d31642de2702bfbcc9 (patch) | |
| tree | cfbfe16008cc0a7389a39b0d6ada9a51855b81cd | |
| parent | dbbcb4e27003cb1733cde536f527279e11dd1077 (diff) | |
| download | webtrees-9585364983e25810fe6ba9d31642de2702bfbcc9.tar.gz webtrees-9585364983e25810fe6ba9d31642de2702bfbcc9.tar.bz2 webtrees-9585364983e25810fe6ba9d31642de2702bfbcc9.zip | |
Types
| -rw-r--r-- | app/StatisticsData.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/StatisticsData.php b/app/StatisticsData.php index c434dd8b02..6b62a4a68d 100644 --- a/app/StatisticsData.php +++ b/app/StatisticsData.php @@ -489,7 +489,7 @@ readonly class StatisticsData public function countHits(string $page_name, string $page_parameter): int { - return DB::table('hit_counter') + return (int) DB::table('hit_counter') ->where('gedcom_id', '=', $this->tree->id()) ->where('page_name', '=', $page_name) ->where('page_parameter', '=', $page_parameter) |
