From: Florent Bruneau Date: Mon, 2 Jun 2008 21:09:48 +0000 (+0200) Subject: Get excerpt returns the excerpts, not the content. X-Git-Url: http://git.polytechnique.org/?p=dotclear.git;a=commitdiff_plain;h=85f939f85344bdaf3ee07a1d8f5dc21025560b63 Get excerpt returns the excerpts, not the content. Signed-off-by: Florent Bruneau --- diff --git a/widget.post.perms.php b/widget.post.perms.php index ba0dc59..d3b74d7 100644 --- a/widget.post.perms.php +++ b/widget.post.perms.php @@ -151,7 +151,7 @@ class xorgPostPermsFilter extends rsExtPostPublic { public static function getExcerpt(&$rs, $absolute_urls = false) { if (self::canRead($rs)) { - return parent::getContent(&$rs, $absolute_urls); + return parent::getExcerpt(&$rs, $absolute_urls); } else if (self::isExtended($rs)) { return self::showMessage($rs); } else {