From e304901bd03a41ef806fa0656f403e9010764801 Mon Sep 17 00:00:00 2001 From: novagen Date: Tue, 26 Oct 2010 12:21:55 +0200 Subject: [PATCH] Fixed bug in /libs/operator.php --- src/messenger/webim/libs/operator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/messenger/webim/libs/operator.php b/src/messenger/webim/libs/operator.php index 1efa06a6..54954476 100644 --- a/src/messenger/webim/libs/operator.php +++ b/src/messenger/webim/libs/operator.php @@ -250,7 +250,7 @@ function setup_redirect_links($threadid,$token) { loadsettings(); $link = connect(); - $operatorscount = db_rows_count("chatoperator", array(), "", $link); + $operatorscount = db_rows_count($mysqlprefix . "chatoperator", array(), "", $link); $groupscount = 0; if($settings['enablegroups'] == "1") { @@ -270,7 +270,7 @@ function setup_redirect_links($threadid,$token) { $operators = select_multi_assoc(db_build_select( "operatorid, vclogin, vclocalename, vccommonname, istatus, (unix_timestamp(CURRENT_TIMESTAMP)-unix_timestamp(dtmlastvisited)) as time", - "chatoperator", array(), "order by vclogin $limit"), $link); + $mysqlprefix . "chatoperator", array(), "order by vclogin $limit"), $link); $groups = array_slice($groups, $p['start'], $p['end']-$p['start']);