mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:25:59 +00:00
fix blank character after opening bracket in function calls
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user