From: Matt Beckett Date: Fri, 13 Sep 2013 05:20:34 +0000 (-0700) Subject: stop page propagation if there is no page or container X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e02239465b538d0364043e4e8613279eb04408f8;p=lorea%2Felgg.git stop page propagation if there is no page or container --- diff --git a/mod/pages/pages/pages/history.php b/mod/pages/pages/pages/history.php index 872596179..7f5fa4f4f 100644 --- a/mod/pages/pages/pages/history.php +++ b/mod/pages/pages/pages/history.php @@ -9,12 +9,12 @@ $page_guid = get_input('guid'); $page = get_entity($page_guid); if (!$page) { - + forward('', '404'); } $container = $page->getContainerEntity(); if (!$container) { - + forward('', '404'); } elgg_set_page_owner_guid($container->getGUID());