When i create a new term with custom field everything is ok, but when i try to update existing one, even the one i just created i get the following error:
Fatal error: Call to undefined function term_fields_result_count() in /term_fields.module on line 222
Comments
Comment #1
BakaNyaka-1 commentedFixed it myself. It seems you forgot to include this function in last version of your module. I copypasted it from previous version and it works fine now.
/**
* Helper function to determine if a query result is empty or not.
*/
function term_fields_result_count($result) {
$count = 0;
while ($data = db_fetch_object($result)) {
$count++;
}
return $count;
}
Comment #2
archard commentedI forgot to update that part in my last release. Thanks for the report. It's now fixed in 1.4.