--- taxonomy_access.module	Sun Jan 01 18:48:54 2006
+++ taxonomy_access.module	Fri Jan 27 14:38:07 2006
@@ -573,6 +573,7 @@ function taxonomy_access_user($op, &$edi
     }
 
     // Get list of roles known to exist from term_access
+    $known_rids = array();
     $query = db_query('SELECT DISTINCT rid FROM {term_access}');
     while($result = db_fetch_array($query)) {
       $known_rids[] = $result['rid'];
