diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-09-04 17:35:17 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-09-04 17:35:17 -0700 |
commit | 61af80fd0905caa6b04c9a203f327da7b569c7cf (patch) | |
tree | f7c4a9773557e87093952af45c150d47fe5ffc14 /mod/pages | |
parent | 1f22e0c9487b90af9df4dd134db660b59d157735 (diff) | |
download | elgg-61af80fd0905caa6b04c9a203f327da7b569c7cf.tar.gz elgg-61af80fd0905caa6b04c9a203f327da7b569c7cf.tar.bz2 |
Refs #3661. Better filtering for container_guid in pages.
Diffstat (limited to 'mod/pages')
-rw-r--r-- | mod/pages/pages/pages/edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/pages/pages/pages/edit.php b/mod/pages/pages/pages/edit.php index e6c2ea015..6f54d72bf 100644 --- a/mod/pages/pages/pages/edit.php +++ b/mod/pages/pages/pages/edit.php @@ -7,15 +7,15 @@ gatekeeper(); -$page_guid = get_input('guid'); +$page_guid = (int)get_input('guid'); $page = get_entity($page_guid); if (!$page) { - + } $container = $page->getContainerEntity(); if (!$container) { - + } elgg_set_page_owner_guid($container->getGUID()); |