[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 85747b: Use usort() instead of natsort()

Michal Čihař michal at cihar.com
Mon Jul 10 14:35:47 CEST 2017


  Branch: refs/heads/QA_4_7
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: 85747b9ae99bd6110578c7f467ee99ad91324b7a
      https://github.com/phpmyadmin/phpmyadmin/commit/85747b9ae99bd6110578c7f467ee99ad91324b7a
  Author: Michal Čihař <michal at cihar.com>
  Date:   2017-07-10 (Mon, 10 Jul 2017)

  Changed paths:
    M ChangeLog
    M libraries/DatabaseInterface.php
    M libraries/ListDatabase.php
    M libraries/controllers/table/TableRelationController.php
    M templates/table/relation/foreign_key_row.phtml

  Log Message:
  -----------
  Use usort() instead of natsort()

The natsoft has side effect of producit associated array, what is later
represented as object if encoded to JSON and breaking code expect array
instead.

Fixes #13465

Signed-off-by: Michal Čihař <michal at cihar.com>




More information about the Git mailing list