[Vtigercrm-commits] [vtiger-commits] r7629 - /vtigercrm/trunk/modules/Contacts/chat.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 28 09:07:24 EDT 2006
Author: richie
Date: Wed Jun 28 07:07:11 2006
New Revision: 7629
Log:
Added vtiger_ in getUniqueID function parameter
Modified:
vtigercrm/trunk/modules/Contacts/chat.php
Modified: vtigercrm/trunk/modules/Contacts/chat.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/chat.php (original)
+++ vtigercrm/trunk/modules/Contacts/chat.php Wed Jun 28 07:07:11 2006
@@ -172,7 +172,7 @@
return;
}
- $_SESSION['chat_user'] = $adb->getUniqueID('chat_users');
+ $_SESSION['chat_user'] = $adb->getUniqueID('vtiger_chat_users');
$res = $adb->query("INSERT INTO vtiger_chat_users (id, nick, session, ping, ip)
VALUES ('".$_SESSION['chat_user']."',
@@ -346,7 +346,7 @@
$msg = $this->msgParse($msg);
if(strlen($msg) == 0) return;
- $id = $adb->getUniqueID('chat_msg');
+ $id = $adb->getUniqueID('vtiger_chat_msg');
$res = $adb->query("INSERT INTO vtiger_chat_msg (id, chat_from, chat_to, born, msg)
VALUES (".$id.", '".$_SESSION['chat_user']."', '".$to."', ".$adb->database->sysTimeStamp.", '".$msg."')");
More information about the vtigercrm-commits
mailing list