opml import: only check feed_url for duplicates

This commit is contained in:
Andrew Dolgov 2008-03-04 07:37:19 +01:00
parent 2a6a93953b
commit f0053c6a47
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@
}
$result = db_query($link, "SELECT id FROM ttrss_feeds WHERE
(title = '$feed_title' OR feed_url = '$feed_url')
feed_url = '$feed_url'
AND owner_uid = '$owner_uid'");
print "<tr><td><a target='_new' href='$site_url'><b>$feed_title</b></a></b>

View File

@ -96,7 +96,7 @@
}
$result = db_query($link, "SELECT id FROM ttrss_feeds WHERE
(title = '$feed_title' OR feed_url = '$feed_url')
feed_url = '$feed_url
AND owner_uid = '$owner_uid'");
print "<tr><td><a target='_new' href='$site_url'><b>$feed_title</b></a></b>