summaryrefslogtreecommitdiff
path: root/includes/tablesort.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/tablesort.inc')
-rw-r--r--includes/tablesort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/tablesort.inc b/includes/tablesort.inc
index c8b426cea..66f83e1f0 100644
--- a/includes/tablesort.inc
+++ b/includes/tablesort.inc
@@ -52,7 +52,7 @@ function tablesort_sql($header, $before = '') {
$ts = tablesort_init($header);
if ($ts['sql']) {
$sql = db_escape_string($ts['sql']);
- $sort = strtoupper(db_escape_string($ts['sort']));
+ $sort = drupal_strtoupper(db_escape_string($ts['sort']));
return " ORDER BY $before $sql $sort";
}
}