summaryrefslogtreecommitdiff
path: root/plugins/note
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 18:34:18 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 18:34:18 +0400
commita42c55f02b7e313ab61bf826794d0888f2dceae1 (patch)
tree7946572f0e45015a0b54830bd1296be548584ed8 /plugins/note
parent72ff0137298f60970c664f0be24327b120bf4ac7 (diff)
fix blank character after opening bracket in function calls
Diffstat (limited to 'plugins/note')
-rw-r--r--plugins/note/init.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/note/init.php b/plugins/note/init.php
index a5396e5a4..f5816bc27 100644
--- a/plugins/note/init.php
+++ b/plugins/note/init.php
@@ -27,9 +27,9 @@ class Note extends Plugin {
}
function edit() {
- $param = db_escape_string( $_REQUEST['param']);
+ $param = db_escape_string($_REQUEST['param']);
- $result = db_query( "SELECT note FROM ttrss_user_entries WHERE
+ $result = db_query("SELECT note FROM ttrss_user_entries WHERE
ref_id = '$param' AND owner_uid = " . $_SESSION['uid']);
$note = db_fetch_result($result, 0, "note");
@@ -56,10 +56,10 @@ class Note extends Plugin {
}
function setNote() {
- $id = db_escape_string( $_REQUEST["id"]);
- $note = trim(strip_tags(db_escape_string( $_REQUEST["note"])));
+ $id = db_escape_string($_REQUEST["id"]);
+ $note = trim(strip_tags(db_escape_string($_REQUEST["note"])));
- db_query( "UPDATE ttrss_user_entries SET note = '$note'
+ db_query("UPDATE ttrss_user_entries SET note = '$note'
WHERE ref_id = '$id' AND owner_uid = " . $_SESSION["uid"]);
$formatted_note = format_article_note($id, $note);