mirror of
https://github.com/Mibew/i18n.git
synced 2025-02-02 09:34:41 +03:00
Fixed bug in /libs/operator.php
This commit is contained in:
parent
d70bfbcce0
commit
e304901bd0
@ -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']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user