]> git.wh0rd.org Git - tt-rss.git/commitdiff
tiny fix in prefs-editor
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 06:54:54 +0000 (07:54 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 06:54:54 +0000 (07:54 +0100)
backend.php

index edef18a03bdb07f5a37e14509f6059004fc17b9f..a8a94cf6eda1472fab3934a034a2f3afb6357b4a 100644 (file)
                                FROM ttrss_prefs,ttrss_prefs_types,ttrss_prefs_sections,ttrss_user_prefs
                                WHERE type_id = ttrss_prefs_types.id AND 
                                        section_id = ttrss_prefs_sections.id AND
-                                       ttrss_user_prefs.pref_name = ttrss_prefs.pref_name
+                                       ttrss_user_prefs.pref_name = ttrss_prefs.pref_name AND
+                                       owner_uid = ".$_SESSION["uid"]."
                                ORDER BY section_id,short_desc");
 
                        print "<form action=\"backend.php\" method=\"POST\">";