-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 15.0.17.52
-
Fix Version/s: None
-
Component/s: Backup & Restore
-
Labels:None
-
ToDo:
-
Asterisk Version:16.8
-
Distro Version:Debian GNU/Linux 10 (buster)
-
Distro:Self Install Debian
For some backups, the "delete after runs" deletes the most recent backup instead of the oldest.
There is a problem with the sorting method used in "Handlers/Backup/Maintenance.php" at lines 77 and 154 : it is using asort(..) when it should be arsort(...) and SORT_NUMERIC when it should either be using SORT_STRING or SORT_NATURAL.
SORT_NUMERIC works for number not strings.
Joined a script with two exemples.
- is duplicated by
-
FREEPBX-22977 backup_maintenance using delete_amount is wrong in v16 PHP 7
-
- Closed
-