Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Commit

Permalink
fix(Features/Acf/OptionPages): use correct updated get method internally
Browse files Browse the repository at this point in the history
  • Loading branch information
Doğa Gürdal committed May 11, 2017
1 parent 4be5248 commit 650837a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Features/Acf/OptionPages.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ protected static function registerOptionCategoryComponent()

// get fields for this component
$options = array_reduce(array_keys(self::$optionTypes), function ($carry, $optionType) use ($config) {
return array_merge($carry, self::getOptions($optionType, 'Component', $config['name']));
return array_merge($carry, self::get($optionType, 'Component', $config['name']));
}, []);

// don't overwrite existing data
Expand Down

0 comments on commit 650837a

Please sign in to comment.