Commit 32e6e6da authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Prevent global form error from incorrectly showing up on forms with button-submit functions"

parents 36db800e 8c19958a
......@@ -513,8 +513,8 @@ class Pieform {/*{{{*/
$function = "{$this->data['successcallback']}_{$name}";
if (function_exists($function)) {
$function($this, $values);
$submitted = true;
break;
log_debug('button-submit form ' . $function . ' should provide a redirect.');
return;
}
}
}
......
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