[Vtigercrm-commits] [vtiger-commits] r7269 - in /vtigercrm/trunk/modules/Users: CreateProfile.php CreateProfile1.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Jun 19 12:17:37 EDT 2006
Author: richie
Date: Mon Jun 19 10:17:26 2006
New Revision: 7269
Log:
fixed vtiger_ issues
Modified:
vtigercrm/trunk/modules/Users/CreateProfile.php
vtigercrm/trunk/modules/Users/CreateProfile1.php
Modified: vtigercrm/trunk/modules/Users/CreateProfile.php
==============================================================================
--- vtigercrm/trunk/modules/Users/CreateProfile.php (original)
+++ vtigercrm/trunk/modules/Users/CreateProfile.php Mon Jun 19 10:17:26 2006
@@ -33,7 +33,7 @@
if(isset($_REQUEST['profileid']) && $_REQUEST['profileid'] != '')
{
global $adb;
- $sql = "select * from vtiger_profile where vtiger_profileid=".$_REQUEST['profileid'];
+ $sql = "select * from vtiger_profile where profileid=".$_REQUEST['profileid'];
$profileResult = $adb->query($sql);
$profile_name = $adb->query_result($profileResult,0,"profilename");
$profile_description = $adb->query_result($profileResult,0,"description");
Modified: vtigercrm/trunk/modules/Users/CreateProfile1.php
==============================================================================
--- vtigercrm/trunk/modules/Users/CreateProfile1.php (original)
+++ vtigercrm/trunk/modules/Users/CreateProfile1.php Mon Jun 19 10:17:26 2006
@@ -18,7 +18,7 @@
if(isset($_REQUEST['dup_check']) && $_REQUEST['dup_check']!='')
{
- $query = 'select vtiger_profilename from vtiger_profile where vtiger_profilename="'.$profilename.'"';
+ $query = 'select profilename from vtiger_profile where profilename="'.$profilename.'"';
$result = $adb->query($query);
if($adb->num_rows($result) > 0)
More information about the vtigercrm-commits
mailing list