From 82db8298882746138ed84b717b0b93f97b6c81cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=81=E5=AE=81?= Date: Wed, 9 Apr 2014 11:29:27 +0800 Subject: [PATCH] add attachment alias --- var/Widget/Archive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/Widget/Archive.php b/var/Widget/Archive.php index 09cdc96d..9ee83414 100644 --- a/var/Widget/Archive.php +++ b/var/Widget/Archive.php @@ -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