Commit cb7529bb authored by SebCorbin's avatar SebCorbin Committed by davisben

Issue #2366875 by SebCorbin: Incompatibility with entity cache.

parent 7a2cdc9b
......@@ -637,6 +637,9 @@ function _weight_set_weight($node) {
'weight' => $weight,
))
->execute();
// Reset this node's cache.
entity_get_controller('node')->resetCache(array($node->nid));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment