diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-17 19:28:14 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-17 19:28:14 +0000 |
commit | ea6242d53dc0d1be887714a8740d4a9e93d574fc (patch) | |
tree | a35b1107697b7af34b5d36245a2afb1b7ee5282d /includes | |
parent | 1bd3670b300dc35687aa2adc7c3daebaf9e94ab4 (diff) | |
download | brdo-ea6242d53dc0d1be887714a8740d4a9e93d574fc.tar.gz brdo-ea6242d53dc0d1be887714a8740d4a9e93d574fc.tar.bz2 |
#993026 by bblake, agentrickard: Fixed Default sort on admin/content incorrect
Diffstat (limited to 'includes')
-rw-r--r-- | includes/tablesort.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/tablesort.inc b/includes/tablesort.inc index afa5a6979..b2b122f90 100644 --- a/includes/tablesort.inc +++ b/includes/tablesort.inc @@ -80,7 +80,7 @@ class TableSort extends SelectQueryExtender { // User has not specified a sort. Use default if specified; otherwise use "asc". else { foreach ($this->header as $header) { - if (isset($header['sort'])) { + if (is_array($header) && isset($header['sort'])) { return $header['sort']; } } |