diff --git a/include/view.php b/include/view.php index 25171bb..7539c7e 100644 --- a/include/view.php +++ b/include/view.php @@ -1139,7 +1139,10 @@ class Ajax extends Responder { private function save_template() { $info = $_POST; $name = $info['template']; - $tags = $this->unescape_tags($info['tag']); + $tags = array(); + if(isset($info['tag'])) { + $tags = $this->unescape_tags($info['tag']); + } foreach(array('template', 'id', 'name',