aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-09-04 17:35:17 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-09-04 17:35:17 -0700
commit61af80fd0905caa6b04c9a203f327da7b569c7cf (patch)
treef7c4a9773557e87093952af45c150d47fe5ffc14
parent1f22e0c9487b90af9df4dd134db660b59d157735 (diff)
downloadelgg-61af80fd0905caa6b04c9a203f327da7b569c7cf.tar.gz
elgg-61af80fd0905caa6b04c9a203f327da7b569c7cf.tar.bz2
Refs #3661. Better filtering for container_guid in pages.
-rw-r--r--mod/pages/pages/pages/edit.php6
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());