BUG prevent notice when using selection group

This commit is contained in:
Jak 2012-08-10 18:53:33 +12:00 committed by Will Rossiter
parent 5c5a506878
commit b649c09b08

View File

@ -37,6 +37,8 @@ class SelectionGroup extends CompositeField {
$count = 0;
$firstSelected = $checked ="";
$newItems = array();
foreach($items as $key => $item) {
if(strpos($key,'//') !== false) {
list($key,$title) = explode('//', $key,2);