From aa75d66eec0dca4143f36a087632260f81a9d160 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 4 Sep 2017 12:22:04 +0200 Subject: [PATCH] Remove tested propery MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Originally the code could delete PROP_COLUMN_ORDER when asking for PROP_COLUMN_VISIB. Issue #13604 Signed-off-by: Michal Čihař --- libraries/Table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Table.php b/libraries/Table.php index 5cebd5a383..c26d439bcf 100644 --- a/libraries/Table.php +++ b/libraries/Table.php @@ -1735,7 +1735,7 @@ class Table } } // remove the property, since it no longer exists in database - $this->removeUiProp(self::PROP_SORTED_COLUMN); + $this->removeUiProp($property); return false; } @@ -1753,7 +1753,7 @@ class Table } // remove the property, since the table has been modified - $this->removeUiProp(self::PROP_COLUMN_ORDER); + $this->removeUiProp($property); return false; } -- 2.11.4.GIT