Skip to content

Commit

Permalink
Merge pull request #351 from creative-commoners/pulls/3/stop-depr
Browse files Browse the repository at this point in the history
API Stop using deprecated API
  • Loading branch information
sabina-talipova authored Nov 10, 2022
2 parents 23a5154 + aa6ac7a commit e9f202f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/GridFieldDetailFormItemRequestExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private function getHTMLFragment(GridFieldAddNewMultiClass $component)
'discard-confirmation',
'action--new__multi-class',
)),
'data-classes' => Convert::array2json($classes),
'data-classes' => json_encode($classes),
]);
}

Expand Down

0 comments on commit e9f202f

Please sign in to comment.