Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-27962 Fixed typo in tablelib preventing columns from being collapsed

  • Loading branch information...
commit 8b05c5e2bda910688dd647a096df8f6b91c8ff76 1 parent 3552484
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/tablelib.php
View
2  lib/tablelib.php
@@ -429,7 +429,7 @@ function setup() {
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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.