diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-09-04 17:31:48 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-09-04 17:31:48 -0700 |
commit | 1f22e0c9487b90af9df4dd134db660b59d157735 (patch) | |
tree | c09b217f38146fbae8f0101008f5d6f861cebe11 | |
parent | a9fef31a326f35c9a1504ee58486a35c9b58dc92 (diff) | |
download | elgg-1f22e0c9487b90af9df4dd134db660b59d157735.tar.gz elgg-1f22e0c9487b90af9df4dd134db660b59d157735.tar.bz2 |
Refs #3661. Pulled in XSS fixes for file search.
-rw-r--r-- | mod/file/pages/file/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |