Skip to content

Commit

Permalink
Merge pull request #10 from viivue/fix-v401
Browse files Browse the repository at this point in the history
🐛 Fix: wrong output on ACF field
  • Loading branch information
daomapsieucap authored Apr 22, 2022
2 parents c088bc2 + 695e319 commit 913d12e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

## Changelog

### v4.0.1 - 2022-04-22

- Fix: wrong output on ACF field

### v4.0.0 - 2022-04-21

- New: Mass upgrade with VueJS and a brand-new layout.
Expand Down
2 changes: 1 addition & 1 deletion includes/fields/acf-field-icomoon.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function format_value($value, $post_id, $field){

$icon = array();
foreach($choices as $object){
if(viivue_array_key_exists('name', $object) === $value){
if(viivue_array_key_exists('icon_class', $object) === $value){
$icon = $object;
break;
}
Expand Down

0 comments on commit 913d12e

Please sign in to comment.