Validate function for tags
efaerber - May 11, 2009 - 21:36
| Project: | Taxonomy Super Select |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
In the method taxonomy_super_select_nodeapi there is
<?php
foreach ($node->taxonomy as $vid => $terms) {
// Only check vocabularies present
if (is_numeric($vid)) {
?>$vid for tags equals a string. Later on within that there are checks/code for tags but it is never executed because $vid fails the check to see if it is numeric. This may be related to #371291: PHP Error when I click on Preview.
