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:
parent
d6afec8de9
commit
584d664007
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user