Adding base36 id to children listing...
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_children.php
index 75726787151f69654c96f906967b9421f16e7a69..9852318792199b815c677013f25ecb0247835c36 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+require_once(INCLUDE_DIR.'base36.inc');
+
         function smarty_function_get_children($params,&$smarty) {
 
                 global $db,$node;
@@ -36,7 +38,7 @@ rch'])."%' ";
                 $set=$db->query($q);
 
                 while ($set->next()) {
-                        $get_children_array[]=$set->getRecord();
+                        $get_children_array[]=addBase36id($set->getRecord());
                 }
 
                 $smarty->assign('get_children',$get_children_array);
This page took 0.104124 seconds and 4 git commands to generate.