diff --git a/core/modules/history/history.module b/core/modules/history/history.module index a739259..e40c44c 100644 --- a/core/modules/history/history.module +++ b/core/modules/history/history.module @@ -46,7 +46,7 @@ function history_read($nid) { * otherwise, zero. */ function history_read_multiple($nids) { - $history = &drupal_static('history_read', array()); + $history = &drupal_static(__FUNCTION__, array()); $return = array(); @@ -102,7 +102,7 @@ function history_write($nid, $account = NULL) { ->fields(array('timestamp' => REQUEST_TIME)) ->execute(); // Update static cache. - $history = &drupal_static('history_read', array()); + $history = &drupal_static('history_read_multiple', array()); $history[$nid] = REQUEST_TIME; } }