-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.10, 2.11, 12
-
Component/s: Framework - Module Admin
-
Labels:None
-
ToDo:
Modules are not loading their css files. The link being generated contains a php variable. The function generating the link has a php variable contained within single quotes.
Currently:
$html .= '<link href="assets/$module_name/css/' . $module_page . '/' . $p_file . '" rel="stylesheet" type="text/css" />';
Proposed fix:
$html .= '<link href="assets/' . $module_name . '/css/' . $module_page . '/' . $p_file . '" rel="stylesheet" type="text/css" />';
Looking through git, it appears the problem is present in 2.10, 2.11, and 12.0.
File: /admin/libraries/view.functions.php
Line: 346 (2.10), 359 (2.11, 12.0)