views_bonus_panels_threecol_term uses outdated api function _taxonomy_depth()
alaa - February 6, 2008 - 23:45
| Project: | Views Bonus Pack |
| Version: | 5.x-1.x-dev |
| Component: | Bonus Panel Views |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
_taxonomy_depth() used in views_bonus_panels_threecol_term.module is not present in Drupal 5, leading to undefined function errors, function is only used to draw the '--' depth indicator and can be replaced with str_repeat()
diff -r1.2.2.4 views_bonus_panels_threecol_term.module
22c22
< $prefix = _taxonomy_depth($term->depth-1). ' ';
---
> $prefix = str_repeat('--', $term->depth-1). ' ';| Attachment | Size |
|---|---|
| views_bonus_panels_threecol_term.patch | 443 bytes |

#1
Committed.
#2
Automatically closed -- issue fixed for two weeks with no activity.