From 0eb768bf3a10faf5ad7848caf2c2472e297f2837 Mon Sep 17 00:00:00 2001 From: Harvie Date: Fri, 24 Dec 2010 01:57:08 +0100 Subject: [PATCH] First working transport - not so cool yet... --- .../smarty/node_methodz/function.get_threaded_children.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 2ed0467..7f18e89 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php @@ -65,7 +65,12 @@ else $security = ""; $child = $result->getRecord(); if($child['synapse_creator']!='') { $child['node_status']='linked'; - if($child['transport']!='') $child['node_content']=$child['node_id'].'@'.$child['transport']; + if($child['transport']!='') { + require_once(INCLUDE_DIR.'transports.inc'); + transport_load($child['transport']); + global $transports; + $child['node_content']=$child['node_id'].'@'.$child['transport'].':
'.$transports[$child['transport']]['get_node_content']($child['node_id']); + } } $get_children_array[]=$child; -- 2.30.2