Forms class leaves artefacts when creating select via an object

Bug #531263 reported by Yabs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quam Plures
Fix Released
Low
Yabs

Bug Description

Function select_input_object() [ approx 1623 ] creates invalid xhtml by leaving in a callback param 'loop_object_method'.

It can be corrected by unsetting the param after it's been used for purpose :

if( isset($field_params['loop_object_method']) )
{
 $field_options = $field_object->$field_object_callback( $field_value, $allow_none, $field_params['loop_object_method'] );
 unset( $field_params['loop_object_method'] );
}

¥

Related branches

Yabs (yabs)
summary: - Froms class leaves artifacts when creating select via object
+ Forms class leaves artefacts when creating select via an object
Yabs (yabs)
Changed in quam-plures:
status: New → Fix Committed
assignee: nobody → Yabs (yabs)
Yabs (yabs)
Changed in quam-plures:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.