Index: branches/5.2.x/core/kernel/application.php =================================================================== diff -u -N -r16377 -r16413 --- branches/5.2.x/core/kernel/application.php (.../application.php) (revision 16377) +++ branches/5.2.x/core/kernel/application.php (.../application.php) (revision 16413) @@ -1,6 +1,6 @@ getCache($cache_key); if ( $currency_iso === false ) { - if ( $this->isModuleEnabled('In-Commerce') ) { + if ( $this->prefixRegistred('curr') ) { $this->Conn->nextQueryCachable = true; $currency_id = $this->siteDomainField('PrimaryCurrencyId'); Index: branches/5.2.x/index.php =================================================================== diff -u -N -r16411 -r16413 --- branches/5.2.x/index.php (.../index.php) (revision 16411) +++ branches/5.2.x/index.php (.../index.php) (revision 16413) @@ -1,6 +1,6 @@ GetField($db_field); if (!$default) { - if ($this->Application->isModuleEnabled('In-Portal')) { + if ( $this->Application->prefixRegistred('c') ) { if (!$val && ($params['type'] == 'meta_keywords' || $params['type'] == 'meta_description')) { // take category meta if it's not set for the page return $this->Application->ProcessParsedTag('c', 'Meta', Array('name' => $cat_field));