From e9dd162e16bf45f85f824199060cdfea345a81c4 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 1 Jul 2014 11:48:36 +0400 Subject: [PATCH] Update core_widgets.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Забыл скобку перенести )) --- application/modules/core/core_widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/modules/core/core_widgets.php b/application/modules/core/core_widgets.php index d7ca45c6cd..7edced3132 100755 --- a/application/modules/core/core_widgets.php +++ b/application/modules/core/core_widgets.php @@ -56,7 +56,7 @@ public function recent_news($widget = array()) { // Truncate text if ($settings['max_symdols'] > 0 AND mb_strlen($news[$i]['prev_text'], 'utf-8') > $settings['max_symdols']) { - $news[$i]['prev_text'] = strip_tags(mb_substr($news[$i]['prev_text'], 0, $settings['max_symdols'], 'utf-8')) . '...'; + $news[$i]['prev_text'] = mb_substr(strip_tags($news[$i]['prev_text']), 0, $settings['max_symdols'], 'utf-8') . '...'; } }