X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=wwwroot%2Finc%2Fsmarty%2Fnode_methodz%2Ffunction.get_threaded_children.php;h=b1bb7521e047ca0188ec87ff8d524d9899d496be;hb=45fe16f2bfbe95069118ca82222113023754db0e;hp=a55b01aad5c5029687372114979dd0a672b53997;hpb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;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 a55b01a..b1bb752 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php @@ -45,7 +45,7 @@ else $security = ""; // by br & maniac if ($node['node_vector']=='') { - $node['node_vector']='blabla'; + $node['node_vector']='blabla'; // XXX // system("echo \"node: $node[node_id]\" >> /tmp/blabla.log") ; } @@ -61,17 +61,20 @@ else $security = ""; $result=$db->query($q); - while ($result->next()) { -$child = $result->getRecord(); -if ($child['synapse_creator']!='') $child['node_status']='linked'; -$get_children_array[]=$child; - } - global $time_1, $time_2; - $time_2=$result->getString('node_created'); - $time_1=$get_children_array[0]['node_created']; - - $smarty->assign('get_threaded_children',$get_children_array); + while ($result->next()) { + $child = $result->getRecord(); + transport_process_node($child); + if($child['synapse_creator']!='') $child['node_status']='linked'; + $get_children_array[]=$child; } + + global $time_1, $time_2; + $time_2=$result->getString('node_created'); + $time_1=$get_children_array[0]['node_created']; + + $smarty->assign('get_threaded_children',$get_children_array); + +} ?>