diff options
-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 b5b5c31d8..83230c427 100644 --- a/includes/tablesort.inc +++ b/includes/tablesort.inc @@ -95,7 +95,7 @@ function tablesort_get_sort($headers) { // user has not specified a sort. check module for default and if none, use 'asc' else { foreach ($headers as $header) { - if (isset($header['sort'])) { + if (is_array($header) && isset($header['sort'])) { return $header['sort']; } } |