Captcha compatibility

a.a.egoroff - January 21, 2008 - 20:15
Project:Compact Forms
Version:5.x-1.0
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

In form with both compact_forms.module and captche.module enabled:

warning: Missing argument 3 for _compact_forms_resize_fields(), called in D:\usr\www\ittrend\sites\all\modules\compact_forms\compact_forms.module on line 74 and defined in D:\usr\www\ittrend\sites\all\modules\compact_forms\compact_forms.module on line 68.

There is tiny patch to solve this:
correct line 68 from

68: function _compact_forms_resize_fields(&$subform, $field_size, $descriptions) {

to
68: function _compact_forms_resize_fields(&$subform, $field_size, $descriptions = NULL) {

#1

sun - May 1, 2009 - 23:43
Status:active» fixed

This was fixed as part of #404132: Properly use Drupal behaviors / Code clean-up.

#2

System Message - May 15, 2009 - 23:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.