--- feedapi.module 2007-11-30 01:59:17.000000000 +0200 +++ feedapi-db_result.module 2007-12-01 23:40:04.000000000 +0200 @@ -1427,7 +1427,7 @@ function _feedapi_import_opml_process($o foreach ($feeds as $feed) { if (strlen($feed['XMLURL']) > 1) { // check if feed url is already in the list - $dupe = db_num_rows(db_query("SELECT nid FROM {feedapi} WHERE url = '%s'", $feed['XMLURL'])); + $dupe = db_result(db_query("SELECT nid FROM {feedapi} WHERE url = '%s'", $feed['XMLURL'])); // If the feed is not already in the list, add it if (!$dupe) {