Just installed this on 4.6.3. When I go to administer>>settings>>taxonomy_dafaults, I get the following error message:
warning: Invalid argument supplied for foreach() in /home/mydomain/public_html/beta2/includes/tablesort.inc on line 160.
Looks like a very useful module. Would be great if this could be fixed.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | taxonomy_default_table.patch | 839 bytes | heine |
Comments
Comment #1
codexmas commentedFix for 4.6.5:
Line 68 of taxonomy_defaults.module reads:
$output .= theme('table', '', $subtable);
Change it to:
$output .= theme('table', NULL, $subtable);
The problem is due to the theme function checking the $header argument with the count function.
Count will return 1 when passed an empty string. The handling of this may be different in 4.7.x
Comment #2
(not verified) commentedComment #3
cog.rusty commentedCould you please commit a patch for this?
By the way, this is a very useful module and it would be nice to tag it for the 4.6 branch. I wouldn't know about it if it had not been mentioned in the handbook.
Any chance for a 4.7 version?
Thanks
Comment #4
heine commentedTrivial patch
Comment #5
heine commentedapplied
Comment #6
(not verified) commented