Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3552484
)
MDL-27962 Fixed typo in tablelib preventing columns from being collapsed
author
Sam Hemelryk
<sam@moodle.com>
Thu, 23 Jun 2011 05:33:28 +0000
(13:33 +0800)
committer
Sam Hemelryk
<sam@moodle.com>
Thu, 23 Jun 2011 05:33:28 +0000
(13:33 +0800)
lib/tablelib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/tablelib.php
b/lib/tablelib.php
index
4039f9a
..
9c22c9c
100644
(file)
--- a/
lib/tablelib.php
+++ b/
lib/tablelib.php
@@
-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)) {