Hello,
For example, at settings we have default Subpool ID different from 1 and
none of subpools are defined to be shown on the registration page. In this
case participant will be put in subpool_id=1 despite of
subpool_default_registration_id setting.
File: public/participant_create.php lines 26,28
Solution:
if (count($all_pool_ids)<=1) redirect
("public/".thisdoc()."?s=".$settings['subpool_default_registration_id']);
/*was
if (count($all_pool_ids)==1) redirect
("public/".thisdoc()."?s=".$all_pool_ids[0]);
if (count($all_pool_ids)==0) redirect ("public/".thisdoc()."?s=1");
*/
* I suppose that if only one subpool is defined to be shown at
registration, it will be overridden by default subpool ID in settings.
Otherwise line 26 should be left at it is and 28th be changed:
if (count($all_pool_ids)==0) redirect
("public/".thisdoc()."?s=".$settings['subpool_default_registration_id']);
Thanks,
Ruslan
Ben Greiner
Public Area
None
Public
|
Date: 2008-10-13 07:25 That's a kind of historical thing. ORSEE is delivered out with a default |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-10-13 07:25 | bengreiner |
| resolution_id | None | 2008-10-13 07:25 | bengreiner |
| close_date | - | 2008-10-13 07:25 | bengreiner |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use