My log contains the messages that the following two lines of code in taxonomy_access.module:

      $tids = array_keys($edit[$vid]['term']);
      foreach ($tids as $tid) {



generate the following errors, respectively:

array_keys(): The first argument should be an array in /home/jacobson/public_html/webdev/modules/taxonomy_access/taxonomy_access.module on line 273


Invalid argument supplied for foreach() in /home/jacobson/public_html/webdev/modules/taxonomy_access/taxonomy_access.module on line 274
CommentFileSizeAuthor
#2 taxonomy_access.patch.txt2.83 KBkeve

Comments

keve’s picture

Do you have an empty vocabulary in which there are no taxonomy terms?

keve’s picture

Status: Active » Needs review
StatusFileSize
new2.83 KB

patch for 4.7

keve’s picture

Status: Needs review » Fixed

Commited to CVS

Anonymous’s picture

Status: Fixed » Closed (fixed)