Skip to content

Commit 3e76c11

Browse files
3rd parameter of replace_in_form_content does not need to be null. closes #791
1 parent 804aa8d commit 3e76c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/forms/class-form-tags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function register()
5050
}
5151

5252

53-
public function replace_in_form_content($string, MC4WP_Form $form, MC4WP_Form_Element $element = null)
53+
public function replace_in_form_content($string, MC4WP_Form $form, MC4WP_Form_Element $element)
5454
{
5555
$this->form = $form;
5656
$this->form_element = $element;

0 commit comments

Comments
 (0)