diff --git a/src/functions.php b/src/functions.php index 180d1db..5fae41b 100644 --- a/src/functions.php +++ b/src/functions.php @@ -304,14 +304,14 @@ function get_unique_id(){ return $count; } function get_default_aside_content($currentArena){ - global $lang; + global $lang, $currentArenaArr; //bla bla $asideSectionContent = '

infos:

'.$lang['DEV-YOUR-OWN-BOT'].'
'.$lang['DOC_SPECS_LINKS'].'

'; //lien pour le ludus - if(isset($currentArena['ludusUrl'])){ - echo '

'.$lang['GO-TO-LUDUS'].' '.$lang['LUDUS-DETAIL'].'

'; + if(isset($currentArenaArr['ludusUrl'])){ + echo '

'.$lang['GO-TO-LUDUS'].' '.$lang['LUDUS-DETAIL'].'

'; } //scores