Eviter l'erreur "Undefined index:" de la ligne 509
This commit is contained in:
parent
8ed9c43e67
commit
4792d0f936
1 changed files with 3 additions and 1 deletions
|
@ -500,13 +500,15 @@ if (!$GLOBAL['public']){ // private
|
||||||
date_default_timezone_set('Europe/Paris');
|
date_default_timezone_set('Europe/Paris');
|
||||||
$infos['DATE']= date('d/m/Y', $infos['DATE']);
|
$infos['DATE']= date('d/m/Y', $infos['DATE']);
|
||||||
if ($infos['TITLE']==''){$infos['TITLE']='Respawn de '.$infos['URL'];}
|
if ($infos['TITLE']==''){$infos['TITLE']='Respawn de '.$infos['URL'];}
|
||||||
|
$t=''
|
||||||
|
if (isset($GLOBAL['tag_array']['public'][$item])){$t=$GLOBAL['tag_array']['public'][$item];}
|
||||||
$content[$key]=array(
|
$content[$key]=array(
|
||||||
'description'=>'Version Respawn de '.$infos['URL'],
|
'description'=>'Version Respawn de '.$infos['URL'],
|
||||||
'title'=>$infos['TITLE'],
|
'title'=>$infos['TITLE'],
|
||||||
'respawn_link'=>$GLOBAL['respawn_url'].'?publicget='.$item,
|
'respawn_link'=>$GLOBAL['respawn_url'].'?publicget='.$item,
|
||||||
'original_link'=>$infos['URL'],
|
'original_link'=>$infos['URL'],
|
||||||
'date'=>$infos['DATE'],
|
'date'=>$infos['DATE'],
|
||||||
'tags'=>$GLOBAL['tag_array']['public'][$item],
|
'tags'=>$t,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue