diff options
Diffstat (limited to 'views/default/object')
-rw-r--r-- | views/default/object/plugin.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/object/plugin.php b/views/default/object/plugin.php index 2f64cfcc9..5c7138e96 100644 --- a/views/default/object/plugin.php +++ b/views/default/object/plugin.php @@ -7,6 +7,10 @@ * */ +if (!elgg_in_context('admin')) { + forward('/', 403); +} + $plugin = $vars['entity']; if (!$plugin->isValid()) { |