Fix console command to update/create a user.

This commit is contained in:
osaajani 2021-08-05 17:14:53 +02:00
parent 85095ef995
commit 850923c1e6
2 changed files with 19 additions and 4 deletions

View file

@ -94,10 +94,10 @@ jQuery(document).ready(function ()
},
},
{data: 'at', render: jQuery.fn.dataTable.render.text()},
{data: 'text', render: jQuery.fn.dataTable.render.text()},
{data: 'text', render: jQuery.fn.dataTable.render.text()}
<?php if ($_SESSION['user']['admin']) { ?>
{
,{
data: 'id',
render: function (data, type, row, meta) {
return '<input name="ids[]" type="checkbox" value="' + data + '">';