Skip to content

Commit

Permalink
Merge pull request #1616 from zatomant/patch-6
Browse files Browse the repository at this point in the history
Update save_template.processor.php
  • Loading branch information
Ser1ous authored Oct 22, 2020
2 parents bd9ac5f + 437225a commit 8d72f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/processors/save_template.processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$description = $modx->db->escape($_POST['description']);
$locked = $_POST['locked'] == 'on' ? 1 : 0;
$selectable = $id == $modx->config['default_template'] ? 1 : // Force selectable
$_POST['selectable'] == 'on' ? 1 : 0;
($_POST['selectable'] == 'on' ? 1 : 0);
$currentdate = time() + $modx->config['server_offset_time'];

//Kyle Jaebker - added category support
Expand Down

0 comments on commit 8d72f3b

Please sign in to comment.