diff options
author | Andrew Dolgov <[email protected]> | 2013-03-22 09:14:55 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-22 09:14:55 +0400 |
commit | 3972bf598195efba3e73ae1fef3faceabeb50308 (patch) | |
tree | 0e0d6e4570b9f9ba692ffae40b7d170e356c4ec7 /plugins/tweet/init.php | |
parent | 9d9432dab87e3887e4f482ac5afff1586530c692 (diff) |
db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close()
Diffstat (limited to 'plugins/tweet/init.php')
-rw-r--r-- | plugins/tweet/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tweet/init.php b/plugins/tweet/init.php index 2d20c7187..bbcf7836c 100644 --- a/plugins/tweet/init.php +++ b/plugins/tweet/init.php @@ -32,7 +32,7 @@ class Tweet 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 |