diff options
author | shadlaws <shad@shadlaws.com> | 2013-04-20 10:09:03 +0200 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-04-21 00:33:44 -0400 |
commit | 0f28d4cee460dfada48bd6c81470db62e48b16d0 (patch) | |
tree | a65f8a52a41a6d4c4c60072a1c2ef6191a0ababe /modules/gallery/controllers/movies.php | |
parent | 0b307a40dec7e9f430c2dea6fcf8593598d90b15 (diff) |
Ensure that movie titles are purified upon display.
Diffstat (limited to 'modules/gallery/controllers/movies.php')
-rw-r--r-- | modules/gallery/controllers/movies.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/movies.php b/modules/gallery/controllers/movies.php index ca332f67..56075710 100644 --- a/modules/gallery/controllers/movies.php +++ b/modules/gallery/controllers/movies.php @@ -67,7 +67,7 @@ class Movies_Controller extends Items_Controller { log::success("content", "Updated movie", "<a href=\"{$movie->url()}\">view</a>"); message::success( - t("Saved movie %movie_title", array("movie_title" => $movie->title))); + t("Saved movie %movie_title", array("movie_title" => html::purify($movie->title)))); if ($form->from_id->value == $movie->id) { // Use the new url; it might have changed. |