projects
/
tt-rss.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf3a57
)
get_feed_access_key: param type bullshit
author
Andrew Dolgov
<noreply@fakecake.org>
Sat, 2 Dec 2017 21:25:12 +0000
(
00:25
+0300)
committer
Andrew Dolgov
<noreply@fakecake.org>
Sat, 2 Dec 2017 21:25:12 +0000
(
00:25
+0300)
include/functions.php
patch
|
blob
|
history
diff --git
a/include/functions.php
b/include/functions.php
index f88321ec9844ac490387981595e9483e16439795..7bf5460dbfb025813dcddfce896b463b94e1a6fa 100644
(file)
--- a/
include/functions.php
+++ b/
include/functions.php
@@
-2051,7
+2051,7
@@
$sth = $pdo->prepare("SELECT access_key FROM ttrss_access_keys
WHERE feed_id = ? AND is_cat = ?
AND owner_uid = ?");
- $sth->execute([$feed_id, $is_cat, $owner_uid]);
+ $sth->execute([$feed_id,
(int)
$is_cat, $owner_uid]);
if ($row = $sth->fetch()) {
return $row["access_key"];