fixed error

This commit is contained in:
marcos.alconada 2019-08-16 10:43:56 +02:00
parent ac85884e46
commit e89193ca0f
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ if ($searchGraphs) {
$totalGraphs = (int) db_get_value_filter('COUNT(id_graph) AS count', 'tgraph', $filter);
if (! $only_count && $totalGraphs > 0) {
if ($totalGraphs > 0) {
$filter['limit'] = $config['block_size'];
$filter['offset'] = (int) get_parameter('offset');
$graphs = db_get_all_rows_filter('tgraph', $filter, $columns);