Closed (won't fix)
Project:
Comment alter taxonomy
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2008 at 22:21 UTC
Updated:
27 Sep 2008 at 16:32 UTC
DamZ pointed out that FAPI has an undocumented feature that causes an array of checkboxes to be passed through array_filter() before saving using variable_set. An example of this usage is in http://api.drupal.org/api/function/book_admin_settings/6
I just committed a fix for this (http://drupal.org/cvs?commit=141515) despite what that wacky commit message states, but for the sake of good karma and smugness we should fix this once #311480: Refactor and simplify the comment form workflow is committed.
Comments
Comment #1
aclight commentedAccording to chx (in #drupal), doing so would be a bad idea, as this is an undocumented "feature" of FAPI that may not continue to exist.