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.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 672b3bdb1..76270f76e 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1556,7 +1556,7 @@ function node_update_index() {
// cannot be indexed (PHP nodes which call drupal_goto, for example).
// In rare cases this can mean a node is only partially indexed, but the
// chances of this happening are very small.
- variable_set('node_cron_last', max($last_comment, max($node->changed, $node->created)));
+ variable_set('node_cron_last', max($last_comment, $node->changed, $node->created));
if (node_hook($node, 'view')) {
node_invoke($node, 'view', false, false);