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:
Alejandro Fraguas 2019-08-22 10:12:57 +02:00
commit 38d6a587fd
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);