aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-07-09 16:34:18 -0400
committercash <cash.costello@gmail.com>2011-07-09 16:34:18 -0400
commit8944c5c187473c4c073cc919e7cd406c03eb7068 (patch)
treed85919e49d61032794ae0ad2584f10838153ff3b /mod/file
parent7a163a886170aa436807f24590dd6c48503ed970 (diff)
downloadelgg-8944c5c187473c4c073cc919e7cd406c03eb7068.tar.gz
elgg-8944c5c187473c4c073cc919e7cd406c03eb7068.tar.bz2
Refs #3685 need null for no container
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/pages/file/search.php2
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);
}