Address upcoming string interpolation deprecation.

https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
This commit is contained in:
wn_
2022-11-12 16:20:59 +00:00
parent 602e868425
commit d376cd6142
7 changed files with 20 additions and 20 deletions

View File

@@ -61,7 +61,7 @@ class Pref_Labels extends Handler_Protected {
if ($kind == "fg" || $kind == "bg") {
$sth = $this->pdo->prepare("UPDATE ttrss_labels2 SET
${kind}_color = ? WHERE id = ?
{$kind}_color = ? WHERE id = ?
AND owner_uid = ?");
$sth->execute([$color, $id, $_SESSION['uid']]);