Commit 31f4da8e authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1465462: Fixing missing variable error on cookieconsent page



Change-Id: I15c7b275790c8b1a9aeb49201abe0ba95f9df4bd
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 03abd36b
......@@ -34,9 +34,10 @@ defined('INTERNAL') || die();
function get_cookieconsent_code() {
global $THEME;
$stylesheets = '';
if ($links = $THEME->get_url('style/cookieconsent.css', true)) {
$links = array_reverse($links);
$stylesheets = '';
foreach ($links as $link) {
$stylesheets .= '<link rel="stylesheet" type="text/css" href="' . $link . '">' . "\n";
}
......
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