X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fsmarty%2Fnode_methodz%2Ffunction.get_threaded_children.php;h=802d1ceae47e1651618497a057db302e2e7c5c72;hb=e651ba44c055dd9003bf2c9115f96e4b5f70c658;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..802d1ce 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php @@ -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); + +} ?>