4
Thanks for a very fast reply.
I've tried this:
//Preferences
$modversion['config'][1]['name'] = 'selected_sections';
$modversion['config'][1]['title'] = '_MI_TEAM_SECTIONS';
$modversion['config'][1]['description'] = '_MI_TEAM_SECTIONSDESC';
$modversion['config'][1]['formtype'] = 'select multi';
$modversion['config'][1]['valuetype'] = 'array';
$modversion['config'][1]['default'] = array(1, 2, 3, 4, 5, 6);
$modversion['config'][1]['options'] = array('Tactics' => 1, 'Matches' => 2, 'Availability' => 3, 'Positions' => 4, 'Stats' => 5, 'Player Profiles' => 6);
and get this error message:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /usr/local/psa/home/vhosts/ruffdesigns.co.uk/web_users/Mithrandir/class/module.textsanitizer.php on line 252