1
0
Fork 0
forked from lino/radar-wp

Commiting upstream patch, will be fixed in next release.

This commit is contained in:
ekes 2015-04-08 20:27:26 +02:00
parent d05f5bb280
commit cc1fc9a941

View file

@ -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);