@@ -1331,18 +1331,21 @@ function ListofLists($current, $fieldname, $subselect)
13311331 // $categoryhtml['unselect'] = '<input type="hidden" name="'.$fieldname.'[unselect]" value="1" />';
13321332
13331333 $ categoryhtml ['selected ' ] = '' ;
1334- $ categoryhtml ['all ' ] = '
1335- <li><input type="hidden" name=" ' .$ fieldname .'[unselect]" value="-1" /><input type="checkbox" name=" ' .$ fieldname .'[all]" ' ;
1336- if (!empty ($ current ['all ' ])) {
1337- $ categoryhtml ['all ' ] .= 'checked ' ;
1338- }
1339- $ categoryhtml ['all ' ] .= ' /> ' .s ('All Lists ' ).'</li> ' ;
13401334
1341- $ categoryhtml ['all ' ] .= '<li><input type="checkbox" name=" ' .$ fieldname .'[allactive]" ' ;
1342- if (!empty ($ current ['allactive ' ])) {
1343- $ categoryhtml ['all ' ] .= 'checked="checked" ' ;
1335+ if ($ fieldname == 'targetlist ' ) {
1336+ $ categoryhtml ['all ' ] = '
1337+ <li><input type="hidden" name=" ' .$ fieldname .'[unselect]" value="-1" /><input type="checkbox" name=" ' .$ fieldname .'[all]" ' ;
1338+ if (!empty ($ current ['all ' ])) {
1339+ $ categoryhtml ['all ' ] .= 'checked ' ;
1340+ }
1341+ $ categoryhtml ['all ' ] .= ' /> ' .s ('All Lists ' ).'</li> ' ;
1342+
1343+ $ categoryhtml ['all ' ] .= '<li><input type="checkbox" name=" ' .$ fieldname .'[allactive]" ' ;
1344+ if (!empty ($ current ['allactive ' ])) {
1345+ $ categoryhtml ['all ' ] .= 'checked="checked" ' ;
1346+ }
1347+ $ categoryhtml ['all ' ] .= ' /> ' .s ('All Public Lists ' ).'</li> ' ;
13441348 }
1345- $ categoryhtml ['all ' ] .= ' /> ' .s ('All Public Lists ' ).'</li> ' ;
13461349
13471350 //# need a better way to suppress this
13481351 if ($ _GET ['page ' ] != 'send ' ) {
0 commit comments