Fixed the missing tags bug for templates

This commit is contained in:
Erik Thuning 2019-06-11 15:07:25 +02:00
parent 4acd884261
commit e089291612

@ -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',