|
@@ -62,7 +62,7 @@ |
|
|
block discarded – undo |
|
62
|
62
|
*/ |
|
63
|
63
|
public function getTerm($termName, $reload = false) |
|
64
|
64
|
{ |
|
65
|
|
- if(!isset($this->_taxonomy[$termName]) || $reload) { |
|
|
65
|
+ if (!isset($this->_taxonomy[$termName]) || $reload) { |
|
66
|
66
|
$tax = TaxonomyDef::findOne(['name' => $termName]); |
|
67
|
67
|
\Yii::getLogger()->log("Initialising term $termName", Logger::LEVEL_INFO, 'nkostadinov.taxonomy.terms'); |
|
68
|
68
|
$this->_taxonomy[$termName] = \Yii::createObject($tax->attributes); |
Please login to merge, or discard this patch.