Needs review
Project:
CCK Private Fields
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2010 at 23:33 UTC
Updated:
9 May 2011 at 22:07 UTC
Null != 'valid' type gets evulated to true, query gets run.
| Comment | File | Size | Author |
|---|---|---|---|
| cck_private_fields_old_type.patch | 748 bytes | hefox |
Comments
Comment #1
hefox commentedNote: in the current state the update query db_query("UPDATE {cck_private_fields} SET content_type = 'type' WHERE content_type = 'NULL'", $info->type, $info->old_type) is run each hook_node_type $op = 'update', which is every cache clear, once per node type I think.
Comment #2
smira commentedworks like a charm, thank you sir.