1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:35:57 +00:00

auth_internal: use PDO + other fixes

This commit is contained in:
Andrew Dolgov
2017-12-03 00:18:08 +03:00
parent 4ee398a41e
commit 7d960ce7e9
3 changed files with 92 additions and 69 deletions

View File

@@ -2062,7 +2062,7 @@
(access_key, feed_id, is_cat, owner_uid)
VALUES (?, ?, ?, ?)");
$sth->execute([$key, $feed_id, $is_cat, $owner_uid]);
$sth->execute([$key, $feed_id, (int)$is_cat, $owner_uid]);
return $key;
}