[Vtigercrm-commits] [vtiger-commits] r10552 - /vtigercrm/branches/5.0.3/modules/Dashboard/display_charts.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 4 09:40:14 EDT 2007
Author: saraj
Date: Wed Apr 4 07:40:10 2007
New Revision: 10552
Log:
fix for non-admin user could not the graph for Contacts by Campaign. Fixes #3564 --minnie
Modified:
vtigercrm/branches/5.0.3/modules/Dashboard/display_charts.php
Modified: vtigercrm/branches/5.0.3/modules/Dashboard/display_charts.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/display_charts.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/display_charts.php Wed Apr 4 07:40:10 2007
@@ -393,7 +393,7 @@
echo get_graph_by_type($graph_by,$graph_title,$module,$where,$query);
}
//Campaigns by Contact
- elseif ($profileTabsPermission[getTabid("Contacts")] == 0 && ($type == "contactbycampaign") && (getFieldVisibilityPermission('Campaigns',$user_id,'campaignid') == "0"))
+ elseif ($profileTabsPermission[getTabid("Contacts")] == 0 && ($type == "contactbycampaign") && $profileTabsPermission[getTabid("Campaigns")] == 0)
{
$graph_by="campaignname";
$graph_title=$mod_strings['contactbycampaign'];
More information about the vtigercrm-commits
mailing list