diff --git a/core/includes/common.inc b/core/includes/common.inc
index 79c2ef4..eabc080 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -4251,6 +4251,7 @@ function drupal_get_library($module, $name = NULL) {
             // format, without an array of options. In this case $options is the
             // filename.
             $file = $options;
+            $options = array();
           }
           $module_libraries[$key]['js'][$file]['version'] = $module_libraries[$key]['version'];
         }
