I tried to add a decimal field with Hangouts but got a couple of "undefined function" errors with hangouts_get_icon_images() and hangouts_get_image(). After inspecting the code, I found the following:
1. In hangouts.module, Line 83 was coded as below:
module_load_include('inc', 'hangouts', 'includes/hangouts.inc');
It appears that it should have been without the ".inc" at the end:
module_load_include('inc', 'hangouts', 'includes/hangouts');
2. In function hangouts_field_formatter_view($entity_type, $entity, $field, $instance, $langcode, $items, $display) {}, the following was missing:
module_load_include('inc', 'hangouts', 'includes/hangouts');
After making the above corrections, the module started working correctly for decimal field.
I don't knwo how to make a patch but it would be great if the owner can make the above corrections in a new release.
Thank you!
Comments
Comment #2
adci_contributor commentedHello! Thank you for your helpful report.
Bug is fixed now. Please, check out our last release.
Thanks you again!