mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 01:41:30 +00:00
pref-labels, save: do not escape unnecessary newline
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
if ($subop == "save") {
|
||||
|
||||
$id = db_escape_string($_REQUEST["id"]);
|
||||
$caption = trim(db_escape_string($_REQUEST["value"]));
|
||||
$caption = db_escape_string(trim($_REQUEST["value"]));
|
||||
|
||||
db_query($link, "BEGIN");
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
AND action_id = 7
|
||||
AND owner_uid = " . $_SESSION["uid"]);
|
||||
|
||||
print $caption;
|
||||
print $_REQUEST["value"];
|
||||
}
|
||||
} else {
|
||||
print $old_caption;
|
||||
|
||||
Reference in New Issue
Block a user