From 6db9ba3a28db1b04e7e25305efef851419192937 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 21 Dec 2002 17:59:37 +0000 Subject: [PATCH] *** empty log message *** --- htdocs/user.class.php3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/user.class.php3 b/htdocs/user.class.php3 index 179555258dd..0210577afe9 100644 --- a/htdocs/user.class.php3 +++ b/htdocs/user.class.php3 @@ -159,6 +159,7 @@ class User { $sql .= ", firstname = '$this->prenom'"; $sql .= ", login = '$this->login'"; $sql .= ", email = '$this->email'"; + $sql .= ", admin = '$this->admin'"; $sql .= " WHERE rowid = $this->id"; $result = $this->db->query($sql); @@ -168,8 +169,7 @@ class User { if ($this->db->affected_rows()) { return 1; - } - + } } else {