diff options
Diffstat (limited to 'views/default/admin/plugins_opt/plugin.php')
-rw-r--r-- | views/default/admin/plugins_opt/plugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/admin/plugins_opt/plugin.php b/views/default/admin/plugins_opt/plugin.php index ef8dd36f0..6e20ac9a0 100644 --- a/views/default/admin/plugins_opt/plugin.php +++ b/views/default/admin/plugins_opt/plugin.php @@ -31,9 +31,9 @@ <div><?php echo elgg_echo('admin:plugins:label:website') . ": "; ?><a href="<?php echo $manifest['website']; ?>"><?php echo $manifest['website']; ?></a></div> <?php } ?> - <?php if ($plugin_object = find_plugin_settings($plugin)) { ?> + <?php if (elgg_view("settings/{$plugin}/edit")) { ?> <div id="<?php echo $plugin; ?>_settings"> - <?php echo elgg_view("object/plugin", array('plugin_object' => $plugin_object)) ?> + <?php echo elgg_view("object/plugin", array('plugin' => $plugin, 'entity' => find_plugin_settings($plugin))) ?> </div> <?php } ?> |