]> git.wh0rd.org Git - tt-rss.git/commitdiff
made db-prefs.php aware of different users
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 06:57:22 +0000 (07:57 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 06:57:22 +0000 (07:57 +0100)
db-prefs.php

index a2a25d3e50949727251ec342d3508128c47fb9e4..16278c54045db3e5297053b1c623479663be0b67 100644 (file)
@@ -15,6 +15,7 @@
                        WHERE 
                                ttrss_user_prefs.pref_name = '$pref_name' AND 
                                ttrss_prefs_types.id = type_id AND
+                               owner_uid = ".$_SESSION["uid"]." AND
                                ttrss_user_prefs.pref_name = ttrss_prefs.pref_name");
 
                if (db_num_rows($result) > 0) {