diff options
-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 2242d1d7e..3e85d45db 100644 --- a/mod/file/pages/file/search.php +++ b/mod/file/pages/file/search.php @@ -5,7 +5,7 @@ * @package ElggFile */ -$page_owner_guid = (int)get_input('page_owner', 0); +$page_owner_guid = get_input('page_owner', null); if ($page_owner_guid) { elgg_set_page_owner_guid($page_owner_guid); } |