Commit 1f5baed5 authored by Hugh Davenport's avatar Hugh Davenport
Browse files

Fix typo in checking for default views

introduced in 13485914



Change-Id: I17e9880da3e5a426a651f0d4c237f7a16ea526ba
Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
parent 1e084f8e
......@@ -56,7 +56,7 @@ class PluginBlocktypeGroupViews extends SystemBlocktype {
public static function render_instance(BlockInstance $instance, $editing=false) {
$configdata = $instance->get('configdata');
if (!isset($configdata['showgroupview'])) {
if (!isset($configdata['showgroupviews'])) {
// If not set, use default
$configdata['showgroupviews'] = 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment