summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pref')
-rw-r--r--classes/pref/labels.php2
-rw-r--r--classes/pref/prefs.php2
2 files changed, 2 insertions, 2 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']]);
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index 3285ce200..0c1b90213 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -240,7 +240,7 @@ class Pref_Prefs extends Handler_Protected {
$user->full_name = clean($_POST['full_name']);
if ($user->email != $new_email) {
- Logger::log(E_USER_NOTICE, "Email address of user ".$user->login." has been changed to ${new_email}.");
+ Logger::log(E_USER_NOTICE, "Email address of user {$user->login} has been changed to {$new_email}.");
if ($user->email) {
$mailer = new Mailer();