diff --git a/core/includes/common.inc b/core/includes/common.inc
index a8ba090..b0afb53 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -4574,6 +4574,7 @@ function drupal_get_library($module, $name = NULL) {
  */
 function drupal_add_tabledrag($table_id, $action, $relationship, $group, $subgroup = NULL, $source = NULL, $hidden = TRUE, $limit = 0) {
   $js_added = &drupal_static(__FUNCTION__, FALSE);
+  $settings = &drupal_static(__FUNCTION__ . '_settings', array());
   if (!$js_added) {
     // Add the table drag JavaScript to the page before the module JavaScript
     // to ensure that table drag behaviors are registered before any module
