summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-10 19:15:57 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-10 19:15:57 +0000
commitd6d3af1b67a0e6f8881b5b7e31ab540e4599386e (patch)
tree6a77ae8dcb490059e9f445189a4c2842b24aa857
parentf28d84e7ae7bd3e4d7dfc97320414cc713e6302a (diff)
downloadbrdo-d6d3af1b67a0e6f8881b5b7e31ab540e4599386e.tar.gz
brdo-d6d3af1b67a0e6f8881b5b7e31ab540e4599386e.tar.bz2
- Patch #9663 by jvandyk: the $i counter variable in tablesort_get_order() is unused and should therefore be removed.
-rw-r--r--includes/tablesort.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/includes/tablesort.inc b/includes/tablesort.inc
index 56d805e1b..064b8e824 100644
--- a/includes/tablesort.inc
+++ b/includes/tablesort.inc
@@ -157,7 +157,6 @@ function tablesort_get_order($headers) {
if ($header['sort'] == 'asc' || $header['sort'] == 'desc') {
$default = array('name' => $header['data'], 'sql' => $header['field']);
}
- $i++;
}
if ($default) {