From 1f22e0c9487b90af9df4dd134db660b59d157735 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Sun, 4 Sep 2011 17:31:48 -0700 Subject: Refs #3661. Pulled in XSS fixes for file search. --- mod/file/pages/file/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/file/pages') diff --git a/mod/file/pages/file/search.php b/mod/file/pages/file/search.php index 3e85d45db..569657fd4 100644 --- a/mod/file/pages/file/search.php +++ b/mod/file/pages/file/search.php @@ -5,7 +5,7 @@ * @package ElggFile */ -$page_owner_guid = get_input('page_owner', null); +$page_owner_guid = (int)get_input('page_owner', null); if ($page_owner_guid) { elgg_set_page_owner_guid($page_owner_guid); } -- cgit v1.2.3