diff --git a/pandora_console/include/db/mysql.php b/pandora_console/include/db/mysql.php index 40eae95573..87cc29be15 100644 --- a/pandora_console/include/db/mysql.php +++ b/pandora_console/include/db/mysql.php @@ -1021,7 +1021,7 @@ function mysql_db_get_row_filter($table, $filter, $fields=false, $where_join='AN * * @return mixed Array of the row or false in case of error. */ -function mysql_db_get_all_rows_filter($table, $filter=[], $fields=false, $where_join='AND', $search_history_db=false, $returnSQL=false) +function mysql_db_get_all_rows_filter($table, $filter=[], $fields=false, $where_join='AND', $search_history_db=false, $returnSQL=false, $cache=true) { // TODO: Validate and clean fields if (empty($fields)) { @@ -1052,7 +1052,7 @@ function mysql_db_get_all_rows_filter($table, $filter=[], $fields=false, $where_ if ($returnSQL) { return $sql; } else { - return db_get_all_rows_sql($sql, $search_history_db); + return db_get_all_rows_sql($sql, $search_history_db, $cache); } }