Commit 47a13ec6 authored by Martyn Smith's avatar Martyn Smith
Browse files

Fixed search config bug and selfsearch results page

parent 13304b56
......@@ -41,7 +41,7 @@ if ($plugintype == 'artefact') {
$classname = generate_artefact_class_name($type);
}
else {
$type = null;
$type = '';
$classname = generate_class_name($plugintype, $pluginname);
}
......
......@@ -36,7 +36,7 @@ $enc_noresults = json_encode(get_string('noresultsfound'));
$javascript = <<<EOF
var results = new TableRenderer(
'selfsearchresults',
'searchresults',
$enc_jsonscript,
[]
);
......
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