Commit 7ced1e69 authored by drumm's avatar drumm

#34434 by beginner, properly initialize a variable.

parent 963dc77b
......@@ -317,6 +317,9 @@ function form_error(&$element, $message = '') {
function form_builder($form_id, $form) {
global $form_values, $form_submitted, $form_button_counter;
// Initialize as unprocessed.
$form['#processed'] = FALSE;
/* Use element defaults */
if ((!empty($form['#type'])) && ($info = _element_info($form['#type']))) {
// overlay $info onto $form, retaining preexisting keys in $form
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment