aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-11-19 16:45:17 -0200
committerSilvio <silvio@socioambiental.org>2013-11-19 16:45:17 -0200
commit8543ab52c2916eb1263dd3332f4b77c32452918c (patch)
tree93879e11b5effdbbdc4045d526e16fcfd907d1dd
parenta7206c696dd2d7a203013774a7051a317839569a (diff)
downloadjquery_drawer-8543ab52c2916eb1263dd3332f4b77c32452918c.tar.gz
jquery_drawer-8543ab52c2916eb1263dd3332f4b77c32452918c.tar.bz2
Minor fix (5)
-rw-r--r--jquery_drawer.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/jquery_drawer.module b/jquery_drawer.module
index 28a7ea9..70c3d21 100644
--- a/jquery_drawer.module
+++ b/jquery_drawer.module
@@ -90,7 +90,7 @@ function jquery_drawer_block($op = 'list', $delta = 0, $edit = array()) {
*/
function jquery_drawer_check_empty($tid) {
$parents = array();
- $nodes = jquery_drawer_select_nodes(array($tid));
+ $nodes = jquery_drawer_select_nodes($tid);
$children = jquery_drawer_get_children($tid);
while ($node = db_fetch_object($nodes)) {
@@ -230,7 +230,7 @@ function jquery_drawer_page($tid = NULL) {
if (!isset($cache[$tid])) {
$output = '';
- $nodes = jquery_drawer_select_nodes(array($tid));
+ $nodes = jquery_drawer_select_nodes($tid);
$base = variable_get('jquery_drawer_link', 'node');
$tree = jquery_drawer_get_children($tid);
$output .= '<ul id="drw_item" class="hidden">';