[Vtigercrm-commits] [vtiger-commits] r7097 - /vtigercrm/trunk/modules/Settings/CurrencyDelete.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Jun 15 02:17:34 EDT 2006


Author: don
Date: Thu Jun 15 00:17:31 2006
New Revision: 7097

Log:
added vtiger_ prefix for table names

Modified:
    vtigercrm/trunk/modules/Settings/CurrencyDelete.php

Modified: vtigercrm/trunk/modules/Settings/CurrencyDelete.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/CurrencyDelete.php (original)
+++ vtigercrm/trunk/modules/Settings/CurrencyDelete.php Thu Jun 15 00:17:31 2006
@@ -11,7 +11,7 @@
 
 $del_id = $_REQUEST['delete_currency_id'];
 $tran_id = $_REQUEST['transfer_currency_id'];
-$sql0 = "update vtiger_users set vtiger_currency_id=".$tran_id." where vtiger_currency_id=".$del_id;
+$sql0 = "update vtiger_users set currency_id=".$tran_id." where currency_id=".$del_id;
 $adb->query($sql0);
 $sql = "delete from vtiger_currency_info where id =".$del_id;
 $adb->query($sql);





More information about the vtigercrm-commits mailing list