From ea6242d53dc0d1be887714a8740d4a9e93d574fc Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 17 Dec 2010 19:28:14 +0000 Subject: #993026 by bblake, agentrickard: Fixed Default sort on admin/content incorrect --- includes/tablesort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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']; } } -- cgit v1.2.3