diff --git a/modules/document/document.item.php b/modules/document/document.item.php index 2a8535da4..79acc18ea 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -175,7 +175,7 @@ } function getSummary($str_size = 50) { - $content = htmlspecialchars(strip_tags($this->get('content'))); + $content = htmlspecialchars(strip_tags($this->getContent())); return cut_str($content, $str_size, '...'); }