From 3a0292303e453f38204279b5d1c978a4b9c367e9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 3 Nov 2018 15:08:43 +0300 Subject: php: remove trailing whitespaces --- classes/labels.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/labels.php') diff --git a/classes/labels.php b/classes/labels.php index 4061de57e..fd9e454bb 100644 --- a/classes/labels.php +++ b/classes/labels.php @@ -42,7 +42,7 @@ class Labels $pdo = Db::pdo(); - $sth = $pdo->prepare("SELECT id, fg_color, bg_color, caption FROM ttrss_labels2 + $sth = $pdo->prepare("SELECT id, fg_color, bg_color, caption FROM ttrss_labels2 WHERE owner_uid = ? ORDER BY caption"); $sth->execute([$owner_uid]); @@ -190,7 +190,7 @@ class Labels $sth->execute([$caption, $owner_uid]); if (!$sth->fetch()) { - $sth = $pdo->prepare("INSERT INTO ttrss_labels2 + $sth = $pdo->prepare("INSERT INTO ttrss_labels2 (caption,owner_uid,fg_color,bg_color) VALUES (?, ?, ?, ?)"); $sth->execute([$caption, $owner_uid, $fg_color, $bg_color]); -- cgit v1.2.3-54-g00ecf