mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-27962 Fixed typo in tablelib preventing columns from being collapsed
This commit is contained in:
parent
3552484b91
commit
8b05c5e2bd
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ class flexible_table {
|
|||
isset($this->columns[$showcol])) {
|
||||
$this->sess->collapse[$showcol] = false;
|
||||
|
||||
} else if (($hidecol = optional_param($this->request[TABLE_VAR_SHOW], '', PARAM_ALPHANUMEXT)) &&
|
||||
} else if (($hidecol = optional_param($this->request[TABLE_VAR_HIDE], '', PARAM_ALPHANUMEXT)) &&
|
||||
isset($this->columns[$hidecol])) {
|
||||
$this->sess->collapse[$hidecol] = true;
|
||||
if (array_key_exists($hidecol, $this->sess->sortby)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue