aboutsummaryrefslogtreecommitdiff
path: root/classes/pref/labels.php
diff options
context:
space:
mode:
authorfox <fox@noreply.tt-rss.org>2022-11-12 20:24:52 +0300
committerfox <fox@noreply.tt-rss.org>2022-11-12 20:24:52 +0300
commit9a0dcdd6cc515de343c0625fae57860e1a63885c (patch)
tree56c8818743f7731164bb85f0a3afb0529984ede5 /classes/pref/labels.php
parent602e8684258062937d7f554ab7889e8e02318c96 (diff)
parentd376cd61426d151aaf59d01aef6f39d230599972 (diff)
Merge pull request 'Address upcoming string interpolation deprecation (PHP 8.2)' (#90) from wn/tt-rss:feature/php82-str-intrp-deprecation into master
Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/90
Diffstat (limited to 'classes/pref/labels.php')
-rw-r--r--classes/pref/labels.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/labels.php b/classes/pref/labels.php
index a50a85a66..2e128691e 100644
--- a/classes/pref/labels.php
+++ b/classes/pref/labels.php
@@ -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']]);