Failure to check for numeric TID in method taxonomy_intro_get_intro()
DrupalMac88 - April 2, 2009 - 14:19
| Project: | Taxonomy Introduction |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Failure to test for numeric value in $tid in the method taxonomy_intro_get_intro() causes a general SQL error.
I've added the following code to this method right after the empty string test:
if (is_numeric($tid) === FALSE) return NULL;
