fixed backup cron task

This commit is contained in:
alejandro.campos@artica.es 2022-11-02 17:36:17 +01:00
parent bf6f5479e8
commit 92455e7ef9
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}