diff --git a/feeds.module b/feeds.module index 79be1de8bb60fdac68bed6f30760abc9ee69f111..ff491712ee10e3989ec943b6731fa86d389c508c 100644 --- a/feeds.module +++ b/feeds.module @@ -1116,7 +1116,7 @@ function feeds_include_library($file, $library) { // Try first whether libraries module is present and load the file from // there. If this fails, require the library from the local path. if ($libraries_path && is_file("$libraries_path/$file")) { - require "$path/$file"; + require "$libraries_path/$file"; $included[$key] = TRUE; } elseif (is_file(DRUPAL_ROOT . '/sites/all/libraries/' . $key)) {