Commit 310726c6 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix groupmembers block rendering when no of columns not set


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent b4961420
...@@ -54,7 +54,7 @@ class PluginBlocktypeGroupMembers extends SystemBlocktype { ...@@ -54,7 +54,7 @@ class PluginBlocktypeGroupMembers extends SystemBlocktype {
$configdata = $instance->get('configdata'); $configdata = $instance->get('configdata');
$rows = $configdata['rows']; $rows = $configdata['rows'];
$columns = $configdata['columns']; $columns = $configdata['columns'] ? $configdata['columns'] : 3;
$groupid = $instance->get_view()->get('group'); $groupid = $instance->get_view()->get('group');
require_once('searchlib.php'); require_once('searchlib.php');
......
Supports Markdown
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