If none of the cases are satisfied in hook_help(), $output is returned undefined. Drupal catches E_NOTICE errors in the drupal_error_handler() function in common.inc, but for performance it would be better to eliminate these errors all together.
Thanks for you work on a very useful module!
Chris
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | user_terms-743954-1.patch | 1.13 KB | cpliakas |
Comments
Comment #1
cpliakas commentedThe attached patch is a workaround to this issue.
Thanks,
Chris
Comment #2
joachim commentedGood catch :)
Thanks for the patch. Committed to CVS.
#743954 by cpliakas: Fixed undefined variable $output in hook_help().