[Vtigercrm-commits] [vtiger-commits] r7107 - /vtigercrm/trunk/modules/Settings/ListModuleOwners.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jun 15 03:13:09 EDT 2006
Author: don
Date: Thu Jun 15 01:13:06 2006
New Revision: 7107
Log:
prefixed vtiger_ in all table names
Modified:
vtigercrm/trunk/modules/Settings/ListModuleOwners.php
Modified: vtigercrm/trunk/modules/Settings/ListModuleOwners.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/ListModuleOwners.php (original)
+++ vtigercrm/trunk/modules/Settings/ListModuleOwners.php Thu Jun 15 01:13:06 2006
@@ -27,7 +27,7 @@
$tabid = getTabid($val);
if($tabid != '' && $userid != '')
{
- $sql = 'update vtiger_moduleowners set user_id = '.$userid.' where vtiger_tabid = '.$tabid;
+ $sql = 'update vtiger_moduleowners set user_id = '.$userid.' where tabid = '.$tabid;
$adb->query($sql);
}
}
@@ -81,7 +81,7 @@
function getModuleOwner($tabid)
{
global $adb;
- $sql = "select * from vtiger_moduleowners where vtiger_tabid=".$tabid;
+ $sql = "select * from vtiger_moduleowners where tabid=".$tabid;
$res = $adb->query($sql);
$userid = $adb->query_result($res,0,'user_id');
@@ -106,7 +106,7 @@
global $adb;
$tabid = getTabid($name);
- $sql = "select * from vtiger_moduleowners where vtiger_tabid=".$tabid;
+ $sql = "select * from vtiger_moduleowners where tabid=".$tabid;
$res = $adb->query($sql);
$db_userid = $adb->query_result($res,0,'user_id');
More information about the vtigercrm-commits
mailing list