Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90448b4
)
fix another 'undefined index' warninG
author
Jason Woofenden
<jason@jasonwoof.com>
Mon, 27 Aug 2018 02:47:32 +0000
(22:47 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Mon, 27 Aug 2018 02:47:32 +0000
(22:47 -0400)
template.php
patch
|
blob
|
history
diff --git
a/template.php
b/template.php
index
1f2592a
..
485cc87
100644
(file)
--- a/
template.php
+++ b/
template.php
@@
-463,7
+463,11
@@
class tem {
}
function get($key) {
- return $this->data[$key];
+ if (isset($this->data[$key])) {
+ return $this->data[$key];
+ } else {
+ return;
+ }
}
function show($name) {