summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-06 10:20:07 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-06 10:20:07 +0000
commite3ce199fc2c390c44ce6fb66ad149afcbd585f07 (patch)
tree27722778f6b40bce4c212156bf14fbc33698b5ba /modules
parentd83289f857853b2efca194cd663267c24dbfd305 (diff)
downloadbrdo-e3ce199fc2c390c44ce6fb66ad149afcbd585f07.tar.gz
brdo-e3ce199fc2c390c44ce6fb66ad149afcbd585f07.tar.bz2
#198321 by ulhume: recent security update had the arguments order wrong in db_query_range()
Diffstat (limited to 'modules')
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 097e7c1ff..4ff069726 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1100,7 +1100,7 @@ function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $p
$result = pager_query($sql, variable_get('default_nodes_main', 10), 0, $sql_count, $args);
}
else {
- $result = db_query_range($sql, 0, variable_get('feed_default_items', 10), $args);
+ $result = db_query_range($sql, $args, 0, variable_get('feed_default_items', 10));
}
}