[Vtigercrm-commits] [vtiger-commits] r7868 - /vtigercrm/trunk/index.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jul 5 09:40:36 EDT 2006
Author: saraj
Date: Wed Jul 5 07:40:32 2006
New Revision: 7868
Log:
Update audit trail query
Modified:
vtigercrm/trunk/index.php
Modified: vtigercrm/trunk/index.php
==============================================================================
--- vtigercrm/trunk/index.php (original)
+++ vtigercrm/trunk/index.php Wed Jul 5 07:40:32 2006
@@ -562,8 +562,12 @@
if($server == 'enabled')
{
+ if($record == '')
+ $auditrecord = 0;
+ else
+ $auditrecord = $record;
$date_var = date('YmdHis');
- $query = "insert into vtiger_audit_trial values(".$adb->getUniqueID('vtiger_audit_trial').",".$current_user->id.",'".$module."','".$action."',$date_var)";
+ $query = "insert into vtiger_audit_trial values(".$adb->getUniqueID('vtiger_audit_trial').",".$current_user->id.",'".$module."','".$action."',".$auditrecord.",$date_var)";
$adb->query($query);
}
More information about the vtigercrm-commits
mailing list