It will be good to set $node->nat during saving NAT to provide other modules which are using hook_nodeapi easy access to NAT terms.

Comments

anantagati’s picture

Status: Active » Needs review
StatusFileSize
new1.25 KB

Attached patch.

Zen’s picture

Status: Needs review » Needs work

The $node->nat overwrite in the 'update' case will also overwrite form data being used in the next line.

Can't other modules just use nat_get_terms? It's cached after all.. This'd also keep the form input intact for other (potential) modules as well.

Cheers,
-K

anantagati’s picture

Status: Needs work » Closed (won't fix)

Ok, lets other modules use nat_get_terms().