Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9053

Correctly sort database backup file list by date on database restore page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.6
    • 3.0.8-RC1
    • ACP
    • None
    • PHP Environment: 5.2.6

    Description

      Preview of backuped data is sorted alphabetically and not by date. It can be changed in file /includes/acp/acp_database.php:438

      from:
      $backup_files[gmdate("d-m-Y H:i:s", $matches[1])] = $file;

      to:
      $backup_files[gmdate("Y-m-d H:i:s", $matches[1])] = $file;

      Or maybe better (without changing date format) using custom sort function in line 448.

      Attachments

        Activity

          People

            bantu Andreas Fischer
            slx slx
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: