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:
Sean Harvey 2008-11-13 01:31:31 +00:00
parent c9f081af94
commit b23dad6c88

View File

@ -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);