Page 1 of 1

Adding lists in 2.0.3b2

PostPosted: Thu Feb 15, 2007 9:51 am
by gschaller
There is an error when adding lists in admin.php. I can't add a list with only two characters like '99'. It supports only 3 or more without an error. Anyone who can confirm that?

PostPosted: Thu Feb 15, 2007 3:22 pm
by mflorell
I can confirm, that is in the admin.php code for adding a list. The list_id must be greater than 99.

PostPosted: Thu Feb 15, 2007 4:32 pm
by gschaller
But I read "between 2 and 8 characters". In vicidial 1 it was ok, and it works when adding the list in mysql (without vicidial-admin). We have around 80 lists with 2 digits in length. Any problems with this lists in future?

PostPosted: Fri Feb 16, 2007 12:09 am
by mflorell
There shouldn't be any functional problems with only 2 digits, although there might be with only a single digit.

To change this, just alter the code where it says "list_id < 100" and change it to 10, that should fix it for you.

PostPosted: Fri Feb 16, 2007 3:13 am
by gschaller
Thanks for the info. I altered the code in admin.php.