Commit 289c1f57 authored by Nigel McNie's avatar Nigel McNie
Browse files

Don't validate the form if we are currently searching rather than submitting it.

parent 8c75565a
......@@ -422,6 +422,10 @@ class BlockInstance {
'elements' => $elements,
);
if (param_variable('action_acsearch_id_' . $this->get('id'), false)) {
$form['validate'] = false;
}
require_once('pieforms/pieform.php');
$pieform = new Pieform($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