Skip to content

Commit

Permalink
fix(restrictedformcriteria): bad key when generating error message
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jan 31, 2023
1 parent 11a8808 commit 6cabca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/restrictedformcriteria.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public static function import(
sprintf(
__('Failed to add or update the %1$s %2$s', 'formceator'),
$type_name,
$input['name']
$input[$item2_input_key]
)
);
}
Expand Down

0 comments on commit 6cabca1

Please sign in to comment.