Adding lists in 2.0.3b2

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Adding lists in 2.0.3b2

Postby gschaller » Thu Feb 15, 2007 9:51 am

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?
gschaller
 
Posts: 99
Joined: Thu Jun 29, 2006 1:59 pm

Postby mflorell » Thu Feb 15, 2007 3:22 pm

I can confirm, that is in the admin.php code for adding a list. The list_id must be greater than 99.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gschaller » Thu Feb 15, 2007 4:32 pm

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?
gschaller
 
Posts: 99
Joined: Thu Jun 29, 2006 1:59 pm

Postby mflorell » Fri Feb 16, 2007 12:09 am

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gschaller » Fri Feb 16, 2007 3:13 am

Thanks for the info. I altered the code in admin.php.
gschaller
 
Posts: 99
Joined: Thu Jun 29, 2006 1:59 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 76 guests