GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removing warning messages and not working rss
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
smarty
/
resource.kyberia.php
diff --git
a/wwwroot/inc/smarty/resource.kyberia.php
b/wwwroot/inc/smarty/resource.kyberia.php
index 895bb94f141cca8d8b0cfc89e8a0e2dc26a0eb5e..bf28a33be3f153feacd2e2949ac0df59dddc2708 100644
(file)
--- a/
wwwroot/inc/smarty/resource.kyberia.php
+++ b/
wwwroot/inc/smarty/resource.kyberia.php
@@
-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'));
*/
// populating $tpl_source with actual template contents
//$tpl_source = stripslashes($set->getString('node_content'));
- $tpl_source = nodes::getNodeById($add_template_id,$_SESSION['user_id']);
+ $tpl_source = nodes::getNodeById($add_template_id,
empty($_SESSION['user_id']) ? "" :
$_SESSION['user_id']);
$tpl_source = $tpl_source['node_content'];
// return true on success, false to generate failure notification
return true;
$tpl_source = $tpl_source['node_content'];
// return true on success, false to generate failure notification
return true;
This page took
0.086317 seconds
and
4
git commands to generate.