each agent should be able to see old threads

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@456 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2009-04-05 14:12:40 +00:00
parent c8979afbff
commit 96ee523783

View File

@ -22,7 +22,7 @@ notify_operator_alive($operator['operatorid']);
loadsettings();
if($settings['enablegroups'] == '1') {
$link = connect();
$groupids = array();
$groupids = array(0);
$allgroups = select_multi_assoc("select groupid from chatgroupoperator where operatorid = ".$operator['operatorid']." order by groupid",$link);
foreach($allgroups as $g) {
$groupids[] = $g['groupid'];