[fix] PHP notice error
This commit is contained in:
parent
588c4e4be4
commit
64f4f387a0
1 changed files with 7 additions and 3 deletions
|
@ -948,7 +948,11 @@ function showRSS()
|
|||
// If user wants permalinks first, put the final link in description
|
||||
if ($usepermalinks===true) $descriptionlink = '(<a href="'.$absurl.'">Link</a>)';
|
||||
if (strlen($link['description'])>0) $descriptionlink = '<br>'.$descriptionlink;
|
||||
if(!empty($link['via'])){
|
||||
$via = '<br>via '.text2clickable(htmlspecialchars($link['via']));
|
||||
} else {
|
||||
$via = '';
|
||||
}
|
||||
echo '<description><![CDATA['.nl2br(keepMultipleSpaces(text2clickable(htmlspecialchars($link['description'])))).$via.$descriptionlink.']]></description>'."\n</item>\n";
|
||||
$i++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue