Skip to content

Commit

Permalink
Fix error for empty reporter stats
Browse files Browse the repository at this point in the history
  • Loading branch information
cproensa authored and dregad committed Feb 14, 2019
1 parent 0a2e8b2 commit e7993b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/summary_api.php
Expand Up @@ -509,6 +509,9 @@ function summary_print_by_reporter( array $p_filter = null ) {
}
}

if( empty( $t_reporters ) ) {
return;
}
user_cache_array_rows( $t_reporters );

$t_query = new DBQuery();
Expand Down

0 comments on commit e7993b1

Please sign in to comment.