Skip to content

Commit

Permalink
Fix Notice error
Browse files Browse the repository at this point in the history
  • Loading branch information
Plopix committed Nov 10, 2015
1 parent 38b9d54 commit 1aab307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Manager/eZ/ContentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ protected function fillExtraSettings( $struct, $settings, $fieldTypeIdentifier,
if ( $fieldTypeIdentifier == "ezselection" )
{
$isMultiple = false;
if ($isM = $settings['Multiple']) {
if ( isset( $settings['Multiple'] ) && ( $isM = $settings['Multiple'] ) ) {
$isMultiple = $isM[0] == "Y" ? true : false;
}
if ( $list = $settings['List'] ) {
if ( isset( $settings['List'] ) && ( $list = $settings['List'] ) ) {
$struct->fieldSettings = [
'isMultiple' => $isMultiple,
'options' => $list
Expand Down

0 comments on commit 1aab307

Please sign in to comment.