? taxonomy_access-PHP_E_ALL_cleanup.patch Index: taxonomy_access.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_access/taxonomy_access.module,v retrieving revision 1.107.2.7 diff -u -p -r1.107.2.7 taxonomy_access.module --- taxonomy_access.module 15 May 2009 01:23:33 -0000 1.107.2.7 +++ taxonomy_access.module 5 Oct 2009 03:14:37 -0000 @@ -367,6 +367,7 @@ function taxonomy_access_preserve_terms( // any other API call, the taxonomy API functions all use // db_rewrite_sql() so we must query the database tables directly) $result = db_query('SELECT tid FROM {term_node} WHERE vid = %d', $node->vid); + $tids[$nid] = array(); while ($row = db_fetch_array($result)) { // only include those terms the current user does not have access to if (!isset($user_terms[$row['tid']])) {