mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
Fixed some warning in PHP 7.1
Warning: Cannot assign an empty string to a string offset * fixed Notice with tempnam()
This commit is contained in:
@@ -8,7 +8,6 @@ function news_parse($title, $content, $date, $icon = 0, $author = '', $comments
|
||||
$tmp = $template_path.'/images/letters/'.$content[0].'.gif';
|
||||
if(file_exists($tmp)) {
|
||||
$firstLetter = '<img src="' . $tmp . '" alt="'.$content[0].'" BORDER=0 ALIGN=bottom>';
|
||||
$content[0] = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user