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.
1 parent bd9ac5f commit 437225aCopy full SHA for 437225a
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