forked from lino/radar-wp
Commiting upstream patch, will be fixed in next release.
This commit is contained in:
parent
d05f5bb280
commit
cc1fc9a941
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class Event extends Node {
|
||||||
* @return TaxonomyTerm[]
|
* @return TaxonomyTerm[]
|
||||||
*/
|
*/
|
||||||
public function getPriceCategory() {
|
public function getPriceCategory() {
|
||||||
$categories = array();
|
$price_categories = array();
|
||||||
if (is_array($this->price_category)) {
|
if (is_array($this->price_category)) {
|
||||||
foreach ($this->price_category as $price_category) {
|
foreach ($this->price_category as $price_category) {
|
||||||
$price_categories[] = new TaxonomyTerm($price_category);
|
$price_categories[] = new TaxonomyTerm($price_category);
|
||||||
|
|
Loading…
Reference in a new issue