Commit 2c0b290f authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon

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

Change-Id: I445c763b09928ce03ae8561605e593bc23bba122
(cherry picked from commit 539d323f)
parent f19b1e30
......@@ -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)) {
Markdown is supported
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