mirror of
https://github.com/Mibew/i18n.git
synced 2025-02-09 04:11:08 +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();
|
loadsettings();
|
||||||
$link = connect();
|
$link = connect();
|
||||||
|
|
||||||
$operatorscount = db_rows_count("chatoperator", array(), "", $link);
|
$operatorscount = db_rows_count($mysqlprefix . "chatoperator", array(), "", $link);
|
||||||
|
|
||||||
$groupscount = 0;
|
$groupscount = 0;
|
||||||
if($settings['enablegroups'] == "1") {
|
if($settings['enablegroups'] == "1") {
|
||||||
@ -270,7 +270,7 @@ function setup_redirect_links($threadid,$token) {
|
|||||||
|
|
||||||
$operators = select_multi_assoc(db_build_select(
|
$operators = select_multi_assoc(db_build_select(
|
||||||
"operatorid, vclogin, vclocalename, vccommonname, istatus, (unix_timestamp(CURRENT_TIMESTAMP)-unix_timestamp(dtmlastvisited)) as time",
|
"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']);
|
$groups = array_slice($groups, $p['start'], $p['end']-$p['start']);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user