[geeklog-hg] geeklog: Template Class - Keeping unknown variables did not work...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Thu Apr 18 21:00:01 EDT 2013
changeset 9052:9d8fcdd9bb37
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/9d8fcdd9bb37
user: Tom <websitemaster at cogeco.net>
date: Thu Apr 18 20:59:49 2013 -0400
description:
Template Class - Keeping unknown variables did not work correctly and added extra brackets.
diffstat:
system/classes/template.class.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 979d665e6516 -r 9d8fcdd9bb37 system/classes/template.class.php
--- a/system/classes/template.class.php Thu Apr 18 10:32:45 2013 -0400
+++ b/system/classes/template.class.php Thu Apr 18 20:59:49 2013 -0400
@@ -1304,7 +1304,8 @@
if ($this->unknowns == 'comment') {
return "<!-- Template variable $val undefined -->";
} else if ($this->unknowns == 'keep') {
- return '{'.$val.'}{'.$this->varvals[$val].'}';
+ // return '{'.$val.'}{'.$this->varvals[$val].'}'; // Not sure why this was like this and not like below
+ return '{'.$val.'}';
}
return '';
}
More information about the geeklog-cvs
mailing list