summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index c657a1548..db7871d49 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -382,7 +382,7 @@ function node_teaser($body, $format = NULL, $size = NULL) {
// Initialize it to maximum in order to find the minimum.
$min_rpos = $max_rpos;
- // Store the reverse of the teaser. We use strpos on the reversed needle and
+ // Store the reverse of the teaser. We use strpos on the reversed needle and
// haystack for speed and convenience.
$reversed = strrev($teaser);
@@ -417,7 +417,7 @@ function node_teaser($body, $format = NULL, $size = NULL) {
// If a break point was found in this group, slice and return the teaser.
if ($min_rpos !== $max_rpos) {
- // Don't slice with length 0. Length must be <0 to slice from RHS.
+ // Don't slice with length 0. Length must be <0 to slice from RHS.
return ($min_rpos === 0) ? $teaser : substr($teaser, 0, 0 - $min_rpos);
}
}
@@ -1003,7 +1003,7 @@ function node_save(&$node) {
// When inserting a node, $node->log must be set because
// {node_revision}.log does not (and cannot) have a default
- // value. If the user does not have permission to create
+ // value. If the user does not have permission to create
// revisions, however, the form will not contain an element for
// log so $node->log will be unset at this point.
if (!isset($node->log)) {
@@ -1011,7 +1011,7 @@ function node_save(&$node) {
}
// For the same reasons, make sure we have $node->teaser and
- // $node->body. We should consider making these fields nullable
+ // $node->body. We should consider making these fields nullable
// in a future version since node types are not required to use them.
if (!isset($node->teaser)) {
$node->teaser = '';
@@ -3012,4 +3012,4 @@ function node_elements() {
*/
function theme_node_links($element) {
return theme('links', $element['#value'], array('class' => 'links inline'));
-} \ No newline at end of file
+}