Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-07-19 11:28:34 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-07-19 11:28:34 +0400
commit8e7628b8a69b52b017eb7bcedea06abc92875f1d (patch)
treec2ed91d59a7f26ba80f51dd504fc6ded725b9ec4 /core
parenta1cfa0425a96e56dc711a711d3e86d15f70af45e (diff)
Fix regression caused by ViewDataTable::viewProperties refactor (setting enable_sort to false had no effect).
Diffstat (limited to 'core')
-rw-r--r--core/ViewDataTable.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/ViewDataTable.php b/core/ViewDataTable.php
index d689a9f6ea..f8e0516250 100644
--- a/core/ViewDataTable.php
+++ b/core/ViewDataTable.php
@@ -593,9 +593,7 @@ abstract class Piwik_ViewDataTable
$requestArray = $this->getRequestArray();
$request = Piwik_API_Request::getRequestArrayFromString($requestArray);
- if (!empty($this->viewProperties['enable_sort'])
- && $this->viewProperties['enable_sort'] === 'false'
- ) {
+ if ($this->viewProperties['enable_sort'] === false) {
$request['filter_sort_column'] = $request['filter_sort_order'] = '';
}