mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Missing variable in some circumstances caused Requirements::include_in_response() to break
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65763 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b23dad6c88
commit
0d5f7d2197
@ -584,6 +584,7 @@ class Requirements_Backend {
|
|||||||
function include_in_response(HTTPResponse $response) {
|
function include_in_response(HTTPResponse $response) {
|
||||||
$this->process_combined_files();
|
$this->process_combined_files();
|
||||||
$jsRequirements = array();
|
$jsRequirements = array();
|
||||||
|
$cssRequirements = array();
|
||||||
|
|
||||||
foreach(array_diff_key($this->javascript, $this->blocked) as $file => $dummy) {
|
foreach(array_diff_key($this->javascript, $this->blocked) as $file => $dummy) {
|
||||||
$path = $this->path_for_file($file);
|
$path = $this->path_for_file($file);
|
||||||
|
Loading…
Reference in New Issue
Block a user