Skip to content

Commit 608b26a

Browse files
committed
fix problem with array_walk_recursive
1 parent 6454ae9 commit 608b26a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

admin/mf_custom_fields.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ function save_custom_field(){
271271
// array_walk_recursive($mf, function (&$value) {
272272
// $value = strip_tags($value);
273273
// });
274-
275-
array_walk_recursive($data, array($this, 'escape_data'));
274+
array_walk_recursive($mf, array($this, 'escape_data'));
276275

277276
if($mf['core']['id']){
278277
//update

0 commit comments

Comments
 (0)