Skip to content

Commit

Permalink
Update statistics_site.class.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
kongtiaowang authored Mar 27, 2024
1 parent e65afaf commit c53965d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/statistics/php/statistics_site.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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 ";
Expand Down

0 comments on commit c53965d

Please # to comment.