Permalink
Browse files

Enable preloaded canned responses by default

  • Loading branch information...
protich committed Jul 11, 2016
1 parent 49b7b4e commit 7267531c64712a7c9034b0aebad2b7e5ffb3c1c8
Showing with 1 addition and 0 deletions.
  1. +1 −0 include/class.i18n.php
View
@@ -140,6 +140,7 @@ function loadDefaultData() {
if (($tpl = $this->getTemplate('templates/premade.yaml'))
&& ($canned = $tpl->getData())) {
foreach ($canned as $c) {
$c['isenabled'] = 1;
if (!($premade = Canned::create($c)) || !$premade->save())
continue;
if (isset($c['attachments'])) {

0 comments on commit 7267531

Please sign in to comment.