Fixed pin on item creation

This commit is contained in:
KodeStar 2018-02-03 16:40:00 +00:00
parent 93022d05bf
commit f2a6fec505

View file

@ -44,7 +44,7 @@
if(isset($item->pinned) && $item->pinned === 1) $checked = true;
$set_checked = ($checked) ? ' checked="checked"' : '';
?>
<input type="checkbox" name="active" value="1"<?php echo $set_checked;?> />
<input type="checkbox" name="pinned" value="1"<?php echo $set_checked;?> />
<span class="slider round"></span>
</label>
</div>