From 1e56e7fd34f19b3fb7adcb3aab929307a8c827d0 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 11 Jul 2017 00:06:35 +0200 Subject: [PATCH] remove warning --- include/class/user.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class/user.class.php b/include/class/user.class.php index ed730f74b..e48541d97 100644 --- a/include/class/user.class.php +++ b/include/class/user.class.php @@ -48,7 +48,7 @@ class User var $password ; var $email ; - function __construct(&$p_cn, $p_id = -1) + function __construct($p_cn, $p_id = -1) { // if p_id is not set then check the connected user if ($p_id == -1)