From c53965d4a9bfdbd0694ad06c078e0c4b7565249a Mon Sep 17 00:00:00 2001 From: Shen Date: Wed, 27 Mar 2024 12:10:58 -0400 Subject: [PATCH] Update statistics_site.class.inc --- modules/statistics/php/statistics_site.class.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/statistics/php/statistics_site.class.inc b/modules/statistics/php/statistics_site.class.inc index de324211054..d2f2f505432 100644 --- a/modules/statistics/php/statistics_site.class.inc +++ b/modules/statistics/php/statistics_site.class.inc @@ -99,8 +99,8 @@ class Statistics_Site extends \NDB_Menu //SITES $projectID = new \ProjectID(strval($projectID)); - $factory = \NDB_Factory::singleton(); - $user = $factory->user(); + $factory = \NDB_Factory::singleton(); + $user = $factory->user(); if (!empty($centerID) && $user->hasCenter($centerID)) { $this->query_criteria .= " AND s.CenterID =:cid ";