php warning removed
authorniekt0 <niekt0@kyberia.cz>
Sat, 2 Apr 2011 00:54:59 +0000 (02:54 +0200)
committerniekt0 <niekt0@kyberia.cz>
Sat, 2 Apr 2011 00:54:59 +0000 (02:54 +0200)
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.165648 seconds and 4 git commands to generate.