X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=template.php;h=485cc87e167743046715f4f14794412a871c5308;hp=1f2592a63d77ba65e30fda479bcea5286c8a428a;hb=7fb2927d0a3dd3411285f9dc153d50d4bbc9ac6e;hpb=90448b433585ec63832845ae50deb01b4124adc0 diff --git a/template.php b/template.php index 1f2592a..485cc87 100644 --- 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) {