From 3ca088f197195c07d63101db6b7625cfd711e2d3 Mon Sep 17 00:00:00 2001 From: Evgeny Gryaznov Date: Sat, 26 Feb 2011 13:09:46 +0100 Subject: [PATCH] fix & remove unused var --- src/messenger/webim/operator/update.php | 3 +-- src/messenger/webim/view/pending_users.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/messenger/webim/operator/update.php b/src/messenger/webim/operator/update.php index e6fa3b18..7c770262 100644 --- a/src/messenger/webim/operator/update.php +++ b/src/messenger/webim/operator/update.php @@ -150,8 +150,7 @@ function print_pending_threads($groupids,$since) { function print_operators() { echo ""; $operators = operator_get_all(); - $names = array(); - + foreach($operators as $operator) { if (!operator_is_online($operator)) continue; diff --git a/src/messenger/webim/view/pending_users.php b/src/messenger/webim/view/pending_users.php index bdaf92fa..f4e6d253 100644 --- a/src/messenger/webim/view/pending_users.php +++ b/src/messenger/webim/view/pending_users.php @@ -92,7 +92,7 @@ function tpl_content() { global $page, $webimroot; "> -"> +">