From 80c234576445b8f7a3c2da161f5b296da700c745 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 18 Nov 2014 01:26:34 +0100 Subject: [PATCH] Remove global --- include/class_profile_sql.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/class_profile_sql.php b/include/class_profile_sql.php index 50a57e72d..2788d0ce1 100644 --- a/include/class_profile_sql.php +++ b/include/class_profile_sql.php @@ -61,9 +61,8 @@ class Profile_sql extends Noalyss_SQL $this->default = array( "p_id" => "auto", ); - global $cn; - parent::__construct($cn,$p_id); + parent::__construct($p_cn,$p_id); }