Completed
Push — master ( 9f56b5...1fd0de )
by Nikola
02:28
created
Taxonomy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -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.