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@65761 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c9f081af94
commit
b23dad6c88
@ -583,6 +583,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();
|
||||||
|
|
||||||
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