row 109 should be:

$vocs = db_query('SELECT name, v.vid FROM {vocabulary} v LEFT JOIN {vocabulary_node_types} vnt on v.vid=vnt.vid WHERE type LIKE "%'.$type.'%"');

Or else database prefixed tables will generate an error

Comments

carlosparamio’s picture

Ooops! Fixed.

Thanks for report it!

Anonymous’s picture