We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd9ac5f + 437225a commit 8d72f3bCopy full SHA for 8d72f3b
manager/processors/save_template.processor.php
@@ -12,7 +12,7 @@
12
$description = $modx->db->escape($_POST['description']);
13
$locked = $_POST['locked'] == 'on' ? 1 : 0;
14
$selectable = $id == $modx->config['default_template'] ? 1 : // Force selectable
15
- $_POST['selectable'] == 'on' ? 1 : 0;
+ ($_POST['selectable'] == 'on' ? 1 : 0);
16
$currentdate = time() + $modx->config['server_offset_time'];
17
18
//Kyle Jaebker - added category support
0 commit comments