mirror of
https://github.com/typecho/typecho.git
synced 2025-01-17 12:38:28 +01:00
add attachment alias
This commit is contained in:
parent
57c5f92877
commit
82db829888
@ -1497,7 +1497,7 @@ class Widget_Archive extends Widget_Abstract_Contents
|
||||
*/
|
||||
public function attachments($limit = 0, $offset = 0)
|
||||
{
|
||||
return $this->widget('Widget_Contents_Attachment_Related', array(
|
||||
return $this->widget('Widget_Contents_Attachment_Related@' . $this->cid . '-' . uniqid(), array(
|
||||
'parentId' => $this->cid,
|
||||
'limit' => $limit,
|
||||
'offset' => $offset
|
||||
|
Loading…
x
Reference in New Issue
Block a user