security hotfix (lame transports)
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_threaded_children.php
index a55b01aad5c5029687372114979dd0a672b53997..b1bb7521e047ca0188ec87ff8d524d9899d496be 100644 (file)
@@ -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);
+
+}
 ?>
 
This page took 0.100719 seconds and 4 git commands to generate.