]> git.wh0rd.org Git - tt-rss.git/commitdiff
xml-import: fix user table checking
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 30 Nov 2005 08:30:43 +0000 (09:30 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 30 Nov 2005 08:30:43 +0000 (09:30 +0100)
xml-import.php

index dee462368af6749acf9d61045fc2f23ecac607ca..d35c01a9ffebf832ad6b5bb780edaf716e11c6b9 100644 (file)
@@ -99,7 +99,7 @@
                print "Found base ID: $entry_id<br>";
 
                $result = db_query($link, "SELECT int_id FROM ttrss_user_entries WHERE
-                       ref_id = '$entry_id'");
+                       ref_id = '$entry_id' AND owner_uid = '$owner_uid'");
 
                if (db_num_rows($result) == 0) {
                        print "User table entry not found, creating...<br>";