sessions: PDO

This commit is contained in:
Andrew Dolgov
2017-12-01 14:48:23 +03:00
parent a21f7495ae
commit 4d13514dd4
2 changed files with 36 additions and 27 deletions

View File

@@ -229,7 +229,7 @@
$pdo = Db::pdo();
$sth = $pdo->prepare("SELECT owner_uid FROM ttrss_feeds WHERE id = ?");
$sth->execute($feed_id);
$sth->execute([$feed_id]);
$owner_uid = false;