Commit 5fd7ab28 authored by Andrew Robert Nicols's avatar Andrew Robert Nicols
Browse files

Fix missing array index when creating new instance of inbox blocktype.


Signed-off-by: default avatarAndrew Robert Nicols <andrew.nicols@luns.net.uk>
parent b2602346
......@@ -62,7 +62,7 @@ class PluginBlocktypeInbox extends SystemBlocktype {
$desiredtypes += get_column('activity_type', 'name', 'admin', 1);
}
$maxitems = $configdata['maxitems'] ? $configdata['maxitems'] : 5;
$maxitems = isset($configdata['maxitems']) ? $configdata['maxitems'] : 5;
$records = array();
if ($desiredtypes) {
......
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