[Phpfreechat-svn] SF.net SVN: phpfreechat: [1088] trunk/src/containers/mysql.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-08-06 14:52:28
|
Revision: 1088 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1088&view=rev Author: kerphi Date: 2007-08-06 07:52:30 -0700 (Mon, 06 Aug 2007) Log Message: ----------- Oups the mysql table should not be hardcoded. Modified Paths: -------------- trunk/src/containers/mysql.class.php Modified: trunk/src/containers/mysql.class.php =================================================================== --- trunk/src/containers/mysql.class.php 2007-08-06 14:44:57 UTC (rev 1087) +++ trunk/src/containers/mysql.class.php 2007-08-06 14:52:30 UTC (rev 1088) @@ -276,7 +276,7 @@ $time = time(); // search for the existing leafvalue - mysql_query('LOCK TABLES phpfreechat WRITE;', $db); + mysql_query('LOCK TABLES '.$c->container_cfg_mysql_table.' WRITE;', $db); $sql_select = "SELECT leafvalue FROM ".$c->container_cfg_mysql_table." WHERE `server`='$server' AND `group`='$group' AND `subgroup`='$subgroup' AND `leaf`='$leaf' LIMIT 1"; $res = mysql_query($sql_select, $db); $row = mysql_fetch_array($res, MYSQL_ASSOC); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |