From 1f98114069a5da420e20973742ddac6b59d4ebd0 Mon Sep 17 00:00:00 2001
From: Yuriy Gerasimov <yuri.gerasimov@gmail.com>
Date: Sat, 2 Apr 2011 13:41:06 +0300
Subject: [PATCH] Issue #1105624 by ygerasimov: Fix file include in node edit form context.

---
 plugins/contexts/node_edit_form.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/contexts/node_edit_form.inc b/plugins/contexts/node_edit_form.inc
index 592fd29..ae0ad40 100644
--- a/plugins/contexts/node_edit_form.inc
+++ b/plugins/contexts/node_edit_form.inc
@@ -65,7 +65,7 @@ function ctools_context_create_node_edit_form($empty, $node = NULL, $conf = FALS
     require_once DRUPAL_ROOT . '/' . $file;
     // This piece of information can let other modules know that more files
     // need to be included if this form is loaded from cache:
-    $form_state['form_load_files'] = array($file);
+    $form_state['build_info']['files'] = array($file);
 
     $form = drupal_build_form($form_id, $form_state);
 
-- 
1.7.0.4

