diff options
author | mamouneyya <mamoun.diraneyya@gmail.com> | 2010-08-02 05:45:48 +0300 |
---|---|---|
committer | mamouneyya <mamoun.diraneyya@gmail.com> | 2010-08-02 05:45:48 +0300 |
commit | 0a128bab0a788288c5291491a68bd1c9ab432825 (patch) | |
tree | 29e9887258865343dc1a6e6322a3933cf6527c61 /system/helpers | |
parent | 8e1ae7549362688dd38e053dd736ddc5fc6a4982 (diff) | |
parent | 9369fd55a36183b7dc1e4b42af46a8f649a66578 (diff) |
Merge remote branch 'gallery3/master'
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/text.php b/system/helpers/text.php index bf82f12a..f7f040cd 100644 --- a/system/helpers/text.php +++ b/system/helpers/text.php @@ -20,7 +20,7 @@ class text_Core { public static function limit_words($str, $limit = 100, $end_char = NULL) { $limit = (int) $limit; - $end_char = ($end_char === NULL) ? '…' : $end_char; + $end_char = ($end_char === NULL) ? '…' : $end_char; if (trim($str) === '') return $str; @@ -46,7 +46,7 @@ class text_Core { */ public static function limit_chars($str, $limit = 100, $end_char = NULL, $preserve_words = FALSE) { - $end_char = ($end_char === NULL) ? '…' : $end_char; + $end_char = ($end_char === NULL) ? '…' : $end_char; $limit = (int) $limit; |