[Vtigercrm-commits] [vtiger-commits] r7352 - in /vtigercrm/trunk/modules/Campaigns: DetailView.php EditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 06:44:47 EDT 2006
Author: saraj
Date: Wed Jun 21 04:44:43 2006
New Revision: 7352
Log:
changes made to get validationdata
Modified:
vtigercrm/trunk/modules/Campaigns/DetailView.php
vtigercrm/trunk/modules/Campaigns/EditView.php
Modified: vtigercrm/trunk/modules/Campaigns/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/DetailView.php (original)
+++ vtigercrm/trunk/modules/Campaigns/DetailView.php Wed Jun 21 04:44:43 2006
@@ -56,9 +56,8 @@
$smarty->assign("ID", $_REQUEST['record']);
-$campaign_tables = Array('campaign','crmentity','campaignscf');
$tabid = getTabid("Campaigns");
-$validationData = getDBValidationData($campaign_tables,$tabid);
+$validationData = getDBValidationData($focus->tab_name,$tabid);
$data = split_validationdataArray($validationData);
$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
Modified: vtigercrm/trunk/modules/Campaigns/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/EditView.php (original)
+++ vtigercrm/trunk/modules/Campaigns/EditView.php Wed Jun 21 04:44:43 2006
@@ -88,9 +88,8 @@
$smarty->assign("IMAGE_PATH", $image_path);
$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
-$campaign_tables = Array('campaign','crmentity','campaignscf');
$tabid = getTabid("Campaigns");
-$validationData = getDBValidationData($campaign_tables,$tabid);
+$validationData = getDBValidationData($focus->tab_name,$tabid);
$data = split_validationdataArray($validationData);
$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
More information about the vtigercrm-commits
mailing list