Loading token.module +1 −1 Changes for token.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -455,7 +455,7 @@ function _token_get_id($type = 'global', $object = NULL) { } switch ($type) { case 'node': return isset($object->nid) ? $object->nid : 0; return isset($object->vid) ? $object->vid : (isset($object->nid) ? $object->nid : 0); case 'comment': return isset($object->cid) ? $object->cid : 0; case 'user': Loading Loading
token.module +1 −1 Changes for token.module: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -455,7 +455,7 @@ function _token_get_id($type = 'global', $object = NULL) { } switch ($type) { case 'node': return isset($object->nid) ? $object->nid : 0; return isset($object->vid) ? $object->vid : (isset($object->nid) ? $object->nid : 0); case 'comment': return isset($object->cid) ? $object->cid : 0; case 'user': Loading