We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af56767 commit 441bbf3Copy full SHA for 441bbf3
Popup.php
@@ -204,7 +204,7 @@
204
} else {
205
$crmalias = CRMEntity::getcrmEntityTableAlias('ProductComponent');
206
$result = $adb->pquery("SELECT presence FROM `vtiger_tab` WHERE `name` = ? AND `presence` = ?", array('ProductComponent', 1));
207
- if ($result) {
+ if (!vtlib_isModuleActive('ProductComponent')) {
208
$where_relquery.=" and vtiger_products.discontinued<>0";
209
210
$where_relquery.=" and vtiger_products.discontinued<>0 AND vtiger_products.productid NOT IN (SELECT distinct topdo
0 commit comments