in og_vocab_element_after_build(), the empty string value for #theme

$form[$field_name][LANGUAGE_NONE]['#theme'] = '';

ends up causing an error in theme(), "Theme hook not found".

CommentFileSizeAuthor
#1 og_vocab-unset-theme-2379169-1.patch573 bytesbrad.bulger
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brad.bulger’s picture

I changed it to unset the '#theme' key instead, it seems to be working OK.

amitaibu’s picture

Status: Active » Needs review

Correct status

Status: Needs review » Needs work

The last submitted patch, 1: og_vocab-unset-theme-2379169-1.patch, failed testing.

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 1: og_vocab-unset-theme-2379169-1.patch, failed testing.

Status: Needs work » Needs review
Jorrit’s picture

Status: Needs review » Reviewed & tested by the community

Works for me. Thanks!