1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-03 18:59:45 +02:00

PHP notice fix

This commit is contained in:
Moc 2014-08-04 18:46:34 +02:00
parent d6afec8de9
commit 584d664007

View File

@ -99,6 +99,7 @@ class plugin_forum_view_shortcodes extends e_shortcode
$baseDir = $this->forum->getAttachmentPath($this->postInfo['post_user']);
$images = array();
$txt = '';
$attachArray = e107::unserialize($this->postInfo['post_attachments']);
//print_a($attachArray);
@ -113,7 +114,7 @@ class plugin_forum_view_shortcodes extends e_shortcode
case 'file':
$url = e_SELF."?id=".$this->postInfo['post_id']."&dl=".$key;
$txt = IMAGE_attachment." <a href='".$url."'>{$name}</a><br />";
$txt .= IMAGE_attachment." <a href='".$url."'>{$name}</a><br />";
break;