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 (one more line)
This commit is contained in:
parent
293f120426
commit
ba8983df8e
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ elseif(isset($_GET['changeListOrder']))
|
|||
$a[] = $id;
|
||||
$setCase .= "WHEN id=$id THEN $ow\n";
|
||||
}
|
||||
$ids = implode($a, ',');
|
||||
$ids = implode(',', $a);
|
||||
$db->dq("UPDATE {$db->prefix}lists SET d_edited=?, ow = CASE\n $setCase END WHERE id IN ($ids)",
|
||||
array(time()) );
|
||||
$t['total'] = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue