From 3d7cc1e01bdd3c9d5fec5729cb515e41ec15c277 Mon Sep 17 00:00:00 2001 From: Dasc3er Date: Tue, 22 Sep 2020 08:30:08 +0200 Subject: [PATCH] Ordinamento backup per ripristino date Prima Nota --- update/v2_4_17/recupero_date_movimenti.php | 1 + 1 file changed, 1 insertion(+) diff --git a/update/v2_4_17/recupero_date_movimenti.php b/update/v2_4_17/recupero_date_movimenti.php index 4f9024d7a..b69080ca3 100644 --- a/update/v2_4_17/recupero_date_movimenti.php +++ b/update/v2_4_17/recupero_date_movimenti.php @@ -30,6 +30,7 @@ $file = null; // File di backup del database // Ricerca dell'ultimo backup (idealmente versione 2.4.16) if (empty($file) && empty($backup)) { $backups = Backup::getList(); + $backups = array_reverse($backups); } if (empty($file)) {