fixed error
This commit is contained in:
parent
ac85884e46
commit
e89193ca0f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue