--- htmlbox.module 2008-09-28 12:41:33.000000000 -0400
+++ htmlbox.fixed 2008-09-28 12:41:12.000000000 -0400
@@ -302,7 +302,7 @@ function htmlbox_form_alter(&$form, $for
'taxonomy_form_term',
);
- if ($other_forms['any'] && $form['#id'] != 'node-form' && !in_array($form_id, $possible_forms)) {
+ if (isset($other_forms['any']) && $form['#id'] != 'node-form' && !in_array($form_id, $possible_forms)) {
// Prepare the form for build to have all the names we need.
$built = form_builder($form_id, $form, $form_state);
$attach_to = _htmlbox_textarea_search($built);
@@ -390,7 +390,7 @@ function htmlbox_footer() {
function htmlbox_theme($existing, $type, $theme, $path) {
return array(
'htmlbox_settings_item' => array(
- 'arguments' => array($buttons => array()),
+ 'arguments' => array('buttons' => array()),
),
);
}