cc-4613: fixed

This commit is contained in:
Rudi Grinberg 2012-10-22 15:34:33 -04:00
parent e0402c88cf
commit feac48a003
2 changed files with 8 additions and 1 deletions

View File

@ -1747,6 +1747,8 @@ SQL;
$p_start, $p_end);
$timezone = date_default_timezone_get();
Logging::info( $content_count );
foreach ($shows as $show) {
$options = array();

View File

@ -679,7 +679,12 @@ SQL;
':p_end' => $p_end->format("Y-m-d G:i:s"))
, 'all');
return $counts;
$real_counts = array();
foreach ($counts as $c) {
$real_counts[$c['instance_id']] = $c['instance_count'];
}
return $real_counts;
}