Commit 8c320e23 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix fatal error in gallery on public profiles (bug #872672)



Change-Id: Ib2d1cd9068a48d7f199dd3d056ab52ef93a3d59b
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 0043cc83
......@@ -345,6 +345,7 @@ class PluginBlocktypeGallery extends PluginBlocktype {
}
}
else {
safe_require('artefact', 'file');
$artefactids = array();
if (isset($configdata['select']) && $configdata['select'] == 1 && is_array($configdata['artefactids'])) {
$artefactids = $configdata['artefactids'];
......
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