Merge branch 'ent-4504-contador-de-graficas-encontradas-no-funciona' into 'develop'
fixed error See merge request artica/pandorafms!2663
This commit is contained in:
commit
38d6a587fd
|
@ -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