summaryrefslogtreecommitdiff
path: root/opml.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 /opml.php
parent9d9432dab87e3887e4f482ac5afff1586530c692 (diff)
db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close()
Diffstat (limited to 'opml.php')
-rw-r--r--opml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/opml.php b/opml.php
index 623913631..b8c9fb6c5 100644
--- a/opml.php
+++ b/opml.php
@@ -16,7 +16,7 @@
$op = $_REQUEST['op'];
if ($op == "publish"){
- $key = db_escape_string($_REQUEST["key"]);
+ $key = db_escape_string($link, $_REQUEST["key"]);
$result = db_query($link, "SELECT owner_uid
FROM ttrss_access_keys WHERE