Fixed the missing tags bug for templates
This commit is contained in:
parent
4acd884261
commit
e089291612
@ -1139,7 +1139,10 @@ class Ajax extends Responder {
|
|||||||
private function save_template() {
|
private function save_template() {
|
||||||
$info = $_POST;
|
$info = $_POST;
|
||||||
$name = $info['template'];
|
$name = $info['template'];
|
||||||
$tags = $this->unescape_tags($info['tag']);
|
$tags = array();
|
||||||
|
if(isset($info['tag'])) {
|
||||||
|
$tags = $this->unescape_tags($info['tag']);
|
||||||
|
}
|
||||||
foreach(array('template',
|
foreach(array('template',
|
||||||
'id',
|
'id',
|
||||||
'name',
|
'name',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user