summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-05-19 13:31:51 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-05-19 13:31:51 +0000
commitbb812c1a9e782bb8905ccb2124741db607b477a8 (patch)
treebd51b652cf6659cf9f4cf7c176822fbfca0a5c0c
parent0b42d1dcdf681bf2c8c0e66e53f3c602db743551 (diff)
downloadbrdo-bb812c1a9e782bb8905ccb2124741db607b477a8.tar.gz
brdo-bb812c1a9e782bb8905ccb2124741db607b477a8.tar.bz2
#144874 by riccardoR: the language filter field is not removed when already filtering by a language
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 27f0bce96..37d13ad5e 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1451,7 +1451,7 @@ function node_filter_form() {
}
if (in_array($type, array('type', 'language'))) {
// Remove the option if it is already being filtered on.
- unset($filters['type']);
+ unset($filters[$type]);
}
}