summaryrefslogtreecommitdiff
path: root/includes/unicode.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-28 18:21:58 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-28 18:21:58 +0000
commit674df40a22133a8d7c04ad81fd9beb8faff3ec71 (patch)
treecbeb9255afffda4acbbac10e38a28846aafc1e42 /includes/unicode.inc
parentef244365561d38987bb92bd0ab33bfc331156408 (diff)
downloadbrdo-674df40a22133a8d7c04ad81fd9beb8faff3ec71.tar.gz
brdo-674df40a22133a8d7c04ad81fd9beb8faff3ec71.tar.bz2
#1007486 by mlncn: Fixed Documentation problem with truncate_utf8: refers to max_return_length instead of max_length
Diffstat (limited to 'includes/unicode.inc')
-rw-r--r--includes/unicode.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/unicode.inc b/includes/unicode.inc
index 33660fd6c..812a2f174 100644
--- a/includes/unicode.inc
+++ b/includes/unicode.inc
@@ -288,12 +288,12 @@ function drupal_truncate_bytes($string, $len) {
* If TRUE, attempt to truncate on a word boundary. Word boundaries are
* spaces, punctuation, and Unicode characters used as word boundaries in
* non-Latin languages; see PREG_CLASS_UNICODE_WORD_BOUNDARY for more
- * information. If a word boundary cannot be found that would make the length
+ * information. If a word boundary cannot be found that would make the length
* of the returned string fall within length guidelines (see parameters
- * $max_return_length and $min_wordsafe_length), word boundaries are ignored.
+ * $max_length and $min_wordsafe_length), word boundaries are ignored.
* @param $add_ellipsis
* If TRUE, add t('...') to the end of the truncated string (defaults to
- * FALSE). The string length will still fall within $max_return_length.
+ * FALSE). The string length will still fall within $max_length.
* @param $min_wordsafe_length
* If $wordsafe is TRUE, the minimum acceptable length for truncation (before
* adding an ellipsis, if $add_ellipsis is TRUE). Has no effect if $wordsafe