Index: branches/5.2.x/units/links/link_tag_processor.php =================================================================== diff -u -r16048 -r16412 --- branches/5.2.x/units/links/link_tag_processor.php (.../link_tag_processor.php) (revision 16048) +++ branches/5.2.x/units/links/link_tag_processor.php (.../link_tag_processor.php) (revision 16412) @@ -1,6 +1,6 @@ <?php /** -* @version $Id: link_tag_processor.php 16048 2014-08-28 15:53:33Z alex $ +* @version $Id: link_tag_processor.php 16412 2016-11-13 20:03:19Z alex $ * @package In-Link * @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved. * @license GNU/GPL @@ -146,7 +146,7 @@ function EnhanceUsingInCommerce($params) { - if (!$this->Application->isModuleEnabled('In-Commerce')) { + if ( !$this->Application->prefixRegistred('ord') ) { return 0; } Index: branches/5.2.x/units/listings/listings_event_handler.php =================================================================== diff -u -r16316 -r16412 --- branches/5.2.x/units/listings/listings_event_handler.php (.../listings_event_handler.php) (revision 16316) +++ branches/5.2.x/units/listings/listings_event_handler.php (.../listings_event_handler.php) (revision 16412) @@ -1,6 +1,6 @@ <?php /** -* @version $Id: listings_event_handler.php 16316 2016-01-17 12:47:21Z alex $ +* @version $Id: listings_event_handler.php 16412 2016-11-13 20:03:19Z alex $ * @package In-Link * @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved. * @license GNU/GPL @@ -278,7 +278,7 @@ */ function OnRequestEnhancement($event) { - if ($this->Application->isModuleEnabled('In-Commerce')) { + if ( $this->Application->prefixRegistred('ord') ) { $l_info = $this->Application->GetVar('l'); if (!$l_info) { return false;