Skip to content

Commit

Permalink
Update modules/statistics/php/stats_behavioural.class.inc
Browse files Browse the repository at this point in the history
Co-Authored-By: PapillonMcGill <34311645+PapillonMcGill@users.noreply.github.com>
  • Loading branch information
racostas and PapillonMcGill authored Sep 30, 2019
1 parent cf7cf9d commit fe452de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/statistics/php/stats_behavioural.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class Stats_Behavioural extends \NDB_Form
{
parent::setup();

$DB =& \Database::singleton();
$factory = NDB_Factory::singleton();
$DB = $factory->database();
$user = \User::singleton();

$query = "SELECT CONCAT('C', CenterID) as ID,
Expand Down

0 comments on commit fe452de

Please sign in to comment.