X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fsmarty%2Fnode_methodz%2Ffunction.get_threaded_children.php;h=11e249bd1f1c81533eb196c979d222ac34475b1a;hb=3c094f62a071292bcedd274d8ca9a402c68da814;hp=5c04c4e5bf5b03d1f24209dd2446f7a4ffaf8cb4;hpb=637e2914f5777984c69b5df67f012de9059dbb11;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php b/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php index 5c04c4e..11e249b 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php @@ -10,6 +10,9 @@ function smarty_function_get_threaded_children($params,&$smarty) { $orderby=isset($params['orderby']) ? $params['orderby'] : "desc"; $time=isset($params['time']) ? $params['time'] : ""; $link=(isset($params['link']) && $params['link']=='yes') ? "yes" : ""; + $node_id=$node['node_id']; + $node_vector=$node['node_vector']; + // XXX WTF if ($node['node_system_access']=='public') { $security="yes"; } @@ -29,7 +32,7 @@ function smarty_function_get_threaded_children($params,&$smarty) { $search_param=""; } - nodes::getThreadedChildren($offset,$limit,$orderby,$time,$synapse_time,$security,$link,$search,$search_param); + $get_children_array=nodes::getThreadedChildren($node_id,$node_vector,$offset,$limit,$orderby,$time,$synapse_time,$security,$link,$search,$search_param); $smarty->assign('get_threaded_children',$get_children_array); }