[Vtigercrm-commits] [vtiger-commits] r7005 - /vtigercrm/branches/4.2/include/utils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Jun 12 17:24:18 EDT 2006
Author: allanbush
Date: Mon Jun 12 15:24:14 2006
New Revision: 7005
Log:
Fixed issue with sub modules being rendered as related lists caused by changeset:5571, which messes up the row counts. Refs #750.
Modified:
vtigercrm/branches/4.2/include/utils.php
Modified: vtigercrm/branches/4.2/include/utils.php
==============================================================================
--- vtigercrm/branches/4.2/include/utils.php (original)
+++ vtigercrm/branches/4.2/include/utils.php Mon Jun 12 15:24:14 2006
@@ -3050,7 +3050,7 @@
}
}
- $relmodule = $_REQUEST['module'] == $module || $_REQUEST['module'] == 'Home' ? '' : $module;
+ $relmodule = ($_REQUEST['module'] == $module || !$relatedlist) || $_REQUEST['module'] == 'Home' ? '' : $module;
$start = $relmodule.'start';
$end_val = $relmodule.'end_val';
for ($i=$navigation_array[$start]; $i<=$navigation_array[$end_val]; $i++)
More information about the vtigercrm-commits
mailing list