Skip to content

Commit 6cabca1

Browse files
committed
fix(restrictedformcriteria): bad key when generating error message
1 parent 11a8808 commit 6cabca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/restrictedformcriteria.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public static function import(
199199
sprintf(
200200
__('Failed to add or update the %1$s %2$s', 'formceator'),
201201
$type_name,
202-
$input['name']
202+
$input[$item2_input_key]
203203
)
204204
);
205205
}

0 commit comments

Comments
 (0)