summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node.module b/modules/node.module
index d619b0063..f7ccc13f4 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -995,7 +995,7 @@ function node_block($op = 'list', $delta = 0) {
*/
function node_feed($nodes = 0, $channel = array()) {
global $base_url;
- $languages = (function_exists('locale')) ? locale_supported_languages() : array();
+ $languages = (function_exists('locale')) ? locale_supported_languages() : array('name' => array());
if (!$nodes) {
$nodes = db_query_range('SELECT nid FROM {node} WHERE promote = 1 AND status = 1 ORDER BY created DESC', 0, 15);