From 8a0149a540b854e3ef0ccbb3d0b99d523513d120 Mon Sep 17 00:00:00 2001 From: steinm Date: Fri, 21 Jan 2011 08:36:53 +0000 Subject: [PATCH] - fixed error when creating a new user --- LetoDMS_Core/inc.ClassDMS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LetoDMS_Core/inc.ClassDMS.php b/LetoDMS_Core/inc.ClassDMS.php index cfa9b4d1d..b398e0702 100644 --- a/LetoDMS_Core/inc.ClassDMS.php +++ b/LetoDMS_Core/inc.ClassDMS.php @@ -658,7 +658,7 @@ class LetoDMS_Core_DMS { if (is_object($this->getUserByLogin($login))) { return false; } - $queryStr = "INSERT INTO tblUsers (login, pwd, fullName, email, language, theme, comment, role, isGuest, hidden) VALUES ('".$login."', '".$pwd."', '".$fullName."', '".$email."', '".$language."', '".$theme."', '".$comment."', '".$role."', '".$isHidden."')"; + $queryStr = "INSERT INTO tblUsers (login, pwd, fullName, email, language, theme, comment, role, hidden) VALUES ('".$login."', '".$pwd."', '".$fullName."', '".$email."', '".$language."', '".$theme."', '".$comment."', '".$role."', '".$isHidden."')"; $res = $this->db->getResult($queryStr); if (!$res) return false;