mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
- Bugfix: need to swap implode() parameters due to PHP 7.4 deprecation
This commit is contained in:
parent
08d673f8ae
commit
e77cf69185
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ elseif(isset($_GET['loadTasks']))
|
|||
$sqlWhere = $inner = '';
|
||||
if($listId == -1) {
|
||||
$userLists = getUserListsSimple();
|
||||
$sqlWhere .= " AND {$db->prefix}todolist.list_id IN (". implode(array_keys($userLists), ','). ") ";
|
||||
$sqlWhere .= " AND {$db->prefix}todolist.list_id IN (". implode(',', array_keys($userLists)). ") ";
|
||||
}
|
||||
else $sqlWhere .= " AND {$db->prefix}todolist.list_id=". $listId;
|
||||
if(_get('compl') == 0) $sqlWhere .= ' AND compl=0';
|
||||
|
|
|
|||
Loading…
Reference in a new issue