default group was hardcoded to -2, which is only the case for a first time sql install

This commit is contained in:
Ralf Becker 2006-06-08 21:09:36 +00:00
parent 0dd337839c
commit f397d26d2e

View File

@ -186,7 +186,7 @@
} }
} }
} }
insert_default_prefs(-2); // set some default prefs insert_default_prefs($defaultgroupid); // set some default prefs
/* Creation of the demo accounts is optional - the checkbox is on by default. */ /* Creation of the demo accounts is optional - the checkbox is on by default. */
if(get_var('create_demo',Array('POST'))) if(get_var('create_demo',Array('POST')))