Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
7f32eb1f
Commit
7f32eb1f
authored
May 25, 2004
by
Dries Buytaert
Browse files
- Patch
#7967
by matthias: small patch to improve the robustness of the tablesorting code.
parent
92818319
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/tablesort.inc
View file @
7f32eb1f
...
...
@@ -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'
];
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment