diff options
author | Andrew Dolgov <[email protected]> | 2018-11-30 09:23:51 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-11-30 09:23:51 +0300 |
commit | fc0a3050ebc772401aaef2f97d4bbbf326769a3c (patch) | |
tree | dd335cbc9b57f74ed052b4fc5d21eb2c7502a308 /include/functions.php | |
parent | 3ad9944d5e9fadc6cfcdc1b0c8ed3fa5fbda6a69 (diff) |
use xhrPost is even more places!
Diffstat (limited to 'include/functions.php')
-rwxr-xr-x | include/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php index 424f87e94..ba3277b81 100755 --- a/include/functions.php +++ b/include/functions.php @@ -2093,7 +2093,7 @@ $sth = $pdo->prepare("SELECT access_key FROM ttrss_access_keys WHERE feed_id = ? AND is_cat = ? AND owner_uid = ?"); - $sth->execute([$feed_id, (int)$is_cat, $owner_uid]); + $sth->execute([$feed_id, $is_cat, $owner_uid]); if ($row = $sth->fetch()) { return $row["access_key"]; @@ -2104,7 +2104,7 @@ (access_key, feed_id, is_cat, owner_uid) VALUES (?, ?, ?, ?)"); - $sth->execute([$key, $feed_id, (int)$is_cat, $owner_uid]); + $sth->execute([$key, $feed_id, $is_cat, $owner_uid]); return $key; } |