Permalink
Browse files

Fix a report bug

Fix a report bug.
  • Loading branch information...
rutoru committed May 18, 2014
1 parent b48af5d commit 4211cca9d858e7da7df010e1125d39c15bccc80b
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Runa_CCA/Controller/Report.php
@@ -87,9 +87,6 @@ static function portal($menu){
*/
static function displayQueues($app, $params){
// Initialize waitTimes value.
$waitTimes = [0];
// Initialize wallboard.
$wallboard = array();
@@ -112,6 +109,9 @@ static function displayQueues($app, $params){
// Get the queue values.
foreach ($stmt->fetchAll() as $twilioQueueId){
// Initialize waitTimes value.
$waitTimes = [0];
// Get data from Twilio.
$twilioQueue = $twilioClient->account->queues->get($twilioQueueId["twilio_queue_id"]);

0 comments on commit 4211cca

Please sign in to comment.