mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUG prevent notice when using selection group
This commit is contained in:
parent
5c5a506878
commit
b649c09b08
@ -37,6 +37,8 @@ class SelectionGroup extends CompositeField {
|
|||||||
|
|
||||||
$count = 0;
|
$count = 0;
|
||||||
$firstSelected = $checked ="";
|
$firstSelected = $checked ="";
|
||||||
|
$newItems = array();
|
||||||
|
|
||||||
foreach($items as $key => $item) {
|
foreach($items as $key => $item) {
|
||||||
if(strpos($key,'//') !== false) {
|
if(strpos($key,'//') !== false) {
|
||||||
list($key,$title) = explode('//', $key,2);
|
list($key,$title) = explode('//', $key,2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user