Commit 0bd68d77 authored by webchick's avatar webchick

Issue #1205882 by Psikik, rbayliss: Fixed hook_delete() function body has typo.

parent 690f129c
......@@ -1022,7 +1022,7 @@ function hook_node_type_delete($info) {
*/
function hook_delete($node) {
db_delete('mytable')
->condition('nid', $nid->nid)
->condition('nid', $node->nid)
->execute();
}
......
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