Skip to content

Commit 8d72f3b

Browse files
authored
Merge pull request #1616 from zatomant/patch-6
Update save_template.processor.php
2 parents bd9ac5f + 437225a commit 8d72f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/processors/save_template.processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
$description = $modx->db->escape($_POST['description']);
1313
$locked = $_POST['locked'] == 'on' ? 1 : 0;
1414
$selectable = $id == $modx->config['default_template'] ? 1 : // Force selectable
15-
$_POST['selectable'] == 'on' ? 1 : 0;
15+
($_POST['selectable'] == 'on' ? 1 : 0);
1616
$currentdate = time() + $modx->config['server_offset_time'];
1717

1818
//Kyle Jaebker - added category support

0 commit comments

Comments
 (0)