]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #3685 need null for no container
authorcash <cash.costello@gmail.com>
Sat, 9 Jul 2011 20:34:18 +0000 (16:34 -0400)
committercash <cash.costello@gmail.com>
Sat, 9 Jul 2011 20:34:18 +0000 (16:34 -0400)
mod/file/pages/file/search.php

index 2242d1d7eb726942f605ecc74701e4ef1f84cab6..3e85d45db55e49ad85ba414a0f7d75b0e8539ec4 100644 (file)
@@ -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);
 }