Commit 4217709b authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "HTML-escape page title in watchlist JSON response (Bug 1472439)"

parents ef3bfdf9 84165c8e
......@@ -31,7 +31,7 @@ if (!can_view_view($view)) {
json_reply('local', $result);
$title = $view->get('title');
$title = hsc($view->get('title'));
if (get_record('usr_watchlist_view', 'usr', $data->usr, 'view', $viewid)) {
if (!delete_records('usr_watchlist_view', 'usr', $data->usr, 'view', $viewid)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment