X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fsmarty%2Fnode_methodz%2Ffunction.get_children_by_external_link.php;fp=inc%2Fsmarty%2Fnode_methodz%2Ffunction.get_children_by_external_link.php;h=994926a6d800f3e27e359af6d8630b4be1970864;hb=b42b2bf946332ad8544d53f610be9cb05e80bf56;hp=c4b12e8a0609283893ec72096fe088aed0921daa;hpb=e586807dafc64c3fe152ab518599e6cf3f0f84e1;p=mirrors%2FKyberia-bloodline.git diff --git a/inc/smarty/node_methodz/function.get_children_by_external_link.php b/inc/smarty/node_methodz/function.get_children_by_external_link.php index c4b12e8..994926a 100644 --- a/inc/smarty/node_methodz/function.get_children_by_external_link.php +++ b/inc/smarty/node_methodz/function.get_children_by_external_link.php @@ -1,31 +1,32 @@ query($q); - while ($set->next()) $pole[]=$set->getRecord(); - $smarty->assign('get_children_by_external_link',$pole); - } -?> \ No newline at end of file + $set=$db->query($q); + while ($set->next()) $pole[]=$set->getRecord(); + $smarty->assign('get_children_by_external_link',$pole); +} +?>