Problem/Motivation
We are encountering the issue outlined here: https://api.drupal.org/comment/50608#comment-50608, causing the following line not to work as expected:
$obj_page = menu_get_object('taxonomy_term', 2);
Proposed resolution
Attempt to get the current term using an alternative method as suggested in https://api.drupal.org/comment/56238#comment-56238
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2979410_term_condition.patch | 827 bytes | davidgrayston |
Comments
Comment #2
davidgrayston commentedPatch attached
Comment #3
j_edery commentedCode reviewed and tested. this looks good
Comment #5
mraichelson commentedAdded to the main codebase and a new release (7.x-1.7) is queued up to include this update.
Thank you!