Commit ad03ff4b authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1815979: Ignore limit for block in versioning / html export"

parents c9a915f2 0cfb63e6
......@@ -66,6 +66,7 @@ class PluginBlocktypeBlog extends MaharaCoreBlocktype {
}
$limit = isset($configdata['count']) ? intval($configdata['count']) : 5;
$limit = ($exporter || $versioning) ? 0 : $limit;
$posts = ArtefactTypeBlogpost::get_posts($blog->get('id'), $limit, 0, $configdata);
$template = 'artefact:blog:viewposts.tpl';
if ($exporter || $versioning) {
......
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