use correct model and fix style

This commit is contained in:
osaajani 2021-07-19 17:32:23 +02:00
parent e21b89cc7c
commit e957c9feb7
29 changed files with 105 additions and 111 deletions

View file

@ -48,12 +48,12 @@ namespace controllers\publics;
/**
* Return receiveds as json.
*
*
* @param bool $unread : Should we only search for unread messages
*/
public function list_json(bool $unread = false)
{
$draw = (int)($_GET['draw'] ?? false);
$draw = (int) ($_GET['draw'] ?? false);
$columns = [
0 => 'searchable_origin',