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 0ba06f196..040858643 100644 --- a/includes/tablesort.inc +++ b/includes/tablesort.inc @@ -71,7 +71,7 @@ function tablesort_get_order($headers) { } else { // The first column specified is initial 'order by' field unless otherwise specified - $first = reset($header); + $first = reset($headers); return $first['data']; } } |