Commit 449c3163 authored by Penny Leach's avatar Penny Leach Committed by Nigel McNie
Browse files

oops, forgot to include a library

parent 8c048333
......@@ -219,6 +219,7 @@ function view_build_category_list($defaultcategory, $javascript=false) {
*/
function view_build_blocktype_list($category, $javascript=false) {
require_once(get_config('docroot') . 'blocktype/lib.php');
if (!$blocktypes = PluginBlockType::get_blocktypes_for_category($category)) {
return '';
}
......
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