RE: [Phplib-users] new_user_md5
Brought to you by:
nhruby,
richardarcher
|
From: Joost <jo...@jo...> - 2002-04-10 07:09:45
|
<snip> >hi,=20 > >maybe someone has a solution, everytime I=B4d like to add a new user with th= >e admin-pages and new=5Fuser=5Fmd5.php, the new user is added to the database = >in the table auth=5Fuser=5Fmd5 and everything is ok except the perms. There ar= >e no perms and the only thing I find in the perms is the expression "array= >".=20 > >thank you for your help > >Baerbel > Hi, Compare lines 134-136 from new_user.php3 with lines 135-136 of new_user_md5.php3. In _md5 somehow the contents of the multiple select (perms) isn't 'imploded' into a string. Adding this line and changing '$perms' to '$permlist' in the query should do the trick. HTH, Joost |