summaryrefslogtreecommitdiff
path: root/plugins/pocket/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-22 09:14:55 +0400
committerAndrew Dolgov <[email protected]>2013-03-22 09:14:55 +0400
commit3972bf598195efba3e73ae1fef3faceabeb50308 (patch)
tree0e0d6e4570b9f9ba692ffae40b7d170e356c4ec7 /plugins/pocket/init.php
parent9d9432dab87e3887e4f482ac5afff1586530c692 (diff)
db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close()
Diffstat (limited to 'plugins/pocket/init.php')
-rw-r--r--plugins/pocket/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pocket/init.php b/plugins/pocket/init.php
index 688a6258d..e96d08001 100644
--- a/plugins/pocket/init.php
+++ b/plugins/pocket/init.php
@@ -33,7 +33,7 @@ class Pocket extends Plugin {
}
function getInfo() {
- $id = db_escape_string($_REQUEST['id']);
+ $id = db_escape_string($this->link, $_REQUEST['id']);
$result = db_query($this->link, "SELECT title, link
FROM ttrss_entries, ttrss_user_entries