summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-02-03 19:41:47 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-02-03 19:41:47 +0000
commita387aaee17413639f77794eb0c7ebc624fa75652 (patch)
tree3cec8237eea966f23074067ab1d743621f80e3dc /modules/node/node.module
parent41e86f2ef45f1c8f1bd285c3bf4b88341ccb0bb6 (diff)
downloadbrdo-a387aaee17413639f77794eb0c7ebc624fa75652.tar.gz
brdo-a387aaee17413639f77794eb0c7ebc624fa75652.tar.bz2
#204071 by Pancho: use UTF-8 aware string length counting in node_teaser() (minor)
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index ef798cf0a..77c2c875e 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -328,7 +328,7 @@ function node_teaser($body, $format = NULL, $size = NULL) {
}
// If we have a short body, the entire body is the teaser.
- if (strlen($body) <= $size) {
+ if (drupal_strlen($body) <= $size) {
return $body;
}