Replace isset
This commit is contained in:
parent
bf1a4c2d07
commit
8683b0a200
@ -472,6 +472,7 @@ foreach($tabExtract as $key)
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
if ( $element == 'data' && in_array($key, $select) )
|
||||
{
|
||||
${$key.'Data'} = $values;
|
||||
@ -665,8 +666,7 @@ foreach($tabIdentifiant as $item)
|
||||
{
|
||||
foreach($select as $item)
|
||||
{
|
||||
echo $item.'Data';
|
||||
if ( isset(${$item.'Data'}) )
|
||||
if ( is_array(${$item.'Data'}) || ${$item.'Data'}===false )
|
||||
{
|
||||
$values = false;
|
||||
if( ${$item.'Data'}!=false ){
|
||||
|
Loading…
Reference in New Issue
Block a user