Skip to content
Snippets Groups Projects
Commit 88e88093 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #206 from greezybacon/issue/cluster-install


install: Fixup template install on MySQL clusters

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents af948f95 407f42ae
No related branches found
No related tags found
No related merge requests found
...@@ -322,6 +322,8 @@ class EmailTemplateGroup { ...@@ -322,6 +322,8 @@ class EmailTemplateGroup {
} else { } else {
if (isset($vars['id']))
$sql .= ', tpl_id='.db_input($vars['id']);
$sql='INSERT INTO '.EMAIL_TEMPLATE_GRP_TABLE $sql='INSERT INTO '.EMAIL_TEMPLATE_GRP_TABLE
.' SET created=NOW(), '.$sql; .' SET created=NOW(), '.$sql;
if(!db_query($sql) || !($new_id=db_insert_id())) { if(!db_query($sql) || !($new_id=db_insert_id())) {
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
# notes - Administrative notes (viewable internally only) # notes - Administrative notes (viewable internally only)
# #
--- ---
- isactive: 1 - id: 1
isactive: 1
name: osTicket Default Template (HTML) name: osTicket Default Template (HTML)
notes: | notes: |
Default osTicket templates Default osTicket templates
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment