Replace isset

This commit is contained in:
Michael RICOIS 2013-01-29 15:49:17 +00:00
parent bf1a4c2d07
commit 8683b0a200

View File

@ -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 ){