summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8b8c3b9)
raw | patch | inline | side by side (parent: 8b8c3b9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 Apr 2010 14:06:33 +0000 (14:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 6 Apr 2010 14:06:33 +0000 (14:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17486 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_sortableListing.inc | patch | blob | history |
diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index f545cb74ec3e764d2a23cc15fd854c6eb199b6e1..3cd08a5baf9750c65c8b10dd62d5a219b18ad662 100644 (file)
}
// Preset sort orders to 'down'
- if(!count($this->sortDirection))
for ($column= 0; $column<$this->columns; $column++) {
- $this->sortDirection[$column]= true;
+ if(!isset($this->sortDirection[$column])){
+ $this->sortDirection[$column]= true;
+ }
}
}