{
$strName = enigtombFixName($arStation['name']);
- if ($arStation['epgtitle']
+ if (isset($arStation['epgtitle'])
+ && $arStation['epgtitle']
&& $arStation['epgtitle'] != 'None'
&& $arStation['epgtitle'] != $arStation['name']
) {
$strName .= ' - ' . $strEpgTitle;
}
- if ($arStation['epgdescription'] && $arStation['epgdescription'] != 'None') {
+ if (isset($arStation['epgdescription'])
+ && $arStation['epgdescription'] && $arStation['epgdescription'] != 'None'
+ ) {
$strDescription = $arStation['epgdescription'];
} else {
$strDescription = '';
}
- if ($arStation['epgdescription2'] && $arStation['epgdescription2'] != 'None') {
+ if (isset($arStation['epgdescription2'])
+ && $arStation['epgdescription2'] && $arStation['epgdescription2'] != 'None'
+ ) {
$strDescription .= ' ' . $arStation['epgdescription2'];
}
if (!$strDescription) {