Getting this error with the dev version:
Fatal error: Can't use function return value in write context in /sites/all/modules/taxonomy_menu/taxonomy_menu.module on line 574
Here is the line with the problem:
$link['options']['attributes']['title'] =
!empty(trim($item['description'])) ?
check_plain(strip_tags($item['description'])) :
check_plain(strip_tags($item['name']));
I got it to work with this change which may not be the best, but works:
$link['options']['attributes']['title'] =
strlen(trim($item['description']))>0 ?
check_plain(strip_tags($item['description'])) :
check_plain(strip_tags($item['name']));
Comments
Comment #1
tomsm CreditAttribution: tomsm commentedI get the same error after installing the latest dev.
I changed line 574 also to:
strlen(trim($item['description']))>0 ?
and it works.
Comment #2
indytechcook CreditAttribution: indytechcook commentedGood enough form (for now)
http://drupal.org/cvs?commit=392814
Comment #3
endiku CreditAttribution: endiku commentedSame. Solution works.