When openning /admin/content/taxonomy/edit/vocabulary/2 I have encountered the following error:

Fatal error: Call to undefined function: content_types() in /home/kgus/public_html/modules/taxonomy_super_select/taxonomy_super_select.module on line 38

CommentFileSizeAuthor
#1 taxonomy_super_select.module.patch29.34 KBdwees

Comments

dwees’s picture

Status: Active » Needs review
StatusFileSize
new29.34 KB

Looks like this module is using a function defined in another module (probably the content module). I've modified the code a bit to use the default Drupal function.

Patch attached, but it needs review.

codexmas’s picture

Assigned: Unassigned » codexmas
Status: Needs review » Fixed

Aye, my bad, I had mistakenly used the CCK function to determine the content types available.
The fix was really simple, notice that the TSS module doesn't present all content types, only the
ones that the vocabulary has selected.

I also simplified the configuration so you will have to revisit the vocab edit page.

Gord.

Anonymous’s picture

Status: Fixed » Closed (fixed)