liveuser admin problem

From: Date: Wed, 12 Oct 2005 08:53:24 +0000
Subject: liveuser admin problem
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21383@lists.php.net to get a copy of this message
Hi, After upgrading to Liveuser_Admin 0.3.5 the following code no longer works: $group = array(); $group['group_define_name'] = 'test'; $group['is_active'] = true; $lu_admin->perm->addGroup($group); Error: Notice: Undefined index: is_active in /usr/local/share/php/pear/LiveUser/Admin/Storage/SQL.php on line 156 Notice: Undefined index: is_active in /usr/local/share/php/pear/LiveUser/Admin/Storage/SQL.php on line 157 Couldn't create the query, reason: DB Error: syntax error-INSERT INTO lu_groups (group_define_name, , group_id) VALUES ('TEST', TRUE, '9') [nativecode=ERROR: syntax error at or near "," at character 43] This is probably related to my earlier post: http://marc.theaimsgroup.com/?l=pear-general&m=112800485417870&w=2 I can just not specify "is_active" and it works, but then the is_active defaults to NULL, which effectively makes the group in_active, right? Jeroen

« previous php.pear.general (#21383) next »