Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2011 at 22:23 UTC
Updated:
17 Oct 2011 at 11:11 UTC
*/
function save_block_cache($delta, $cache_setting) {
if ($bid = db_query("SELECT bid FROM {block} WHERE module = 'views' AND delta = :delta", array(
':delta' => $delta))->fetchField()) {
db_update('block')
->fields(array(
'cache' => $cache_setting,
))
->condition('module','views')
->condition('delta', $delta)
->execute();
}
}
}
As you see if $delta = md5($delta) this basically fails.
Comments
Comment #1
dawehnerCommited as fix to both 6.x-3.x and 7.x-3.x