Get excerpt returns the excerpts, not the content.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 2 Jun 2008 21:09:48 +0000 (23:09 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 2 Jun 2008 21:09:48 +0000 (23:09 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
widget.post.perms.php

index ba0dc59..d3b74d7 100644 (file)
@@ -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 {