X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=template.php;h=485cc87e167743046715f4f14794412a871c5308;hb=19e2f5c79c22fd1585ca6569ad25e7ecf06ff7f0;hp=1f2592a63d77ba65e30fda479bcea5286c8a428a;hpb=307c3b76ee89b37e48fbd04e606e2eb333822c66;p=wfpl.git 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) {