php warning removed
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / resource.kyberia.php
index dc77b4fa55a67fc482f8390506a5e78af9bce77b..1e4a7c1cc79ed32aaa2d0a06ab85115adb84e73b 100644 (file)
@@ -24,7 +24,7 @@ function db_get_template ($tpl_name, &$tpl_source, &$smarty_obj) {
                                */
     // populating $tpl_source with actual template contents
        //$tpl_source = stripslashes($set->getString('node_content'));
-       $tpl_source = nodes::getNodeById($add_template_id,$user_id);
+       $tpl_source = nodes::getNodeById($add_template_id,$_SESSION['user_id']);
        $tpl_source = $tpl_source['node_content'];
     // return true on success, false to generate failure notification
     return true;
This page took 0.125043 seconds and 4 git commands to generate.