summaryrefslogtreecommitdiff
path: root/db-prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-18 07:57:22 +0100
committerAndrew Dolgov <[email protected]>2005-11-18 07:57:22 +0100
commit8c7bbd2d4e35c4186d94661b3205d4523f84b558 (patch)
tree2602044603e1b6bafab9ab96fd21965aa4fcffd5 /db-prefs.php
parenta2411bd9d9e41104afea6edf7148dfd785e5265e (diff)
made db-prefs.php aware of different users
Diffstat (limited to 'db-prefs.php')
-rw-r--r--db-prefs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/db-prefs.php b/db-prefs.php
index a2a25d3e5..16278c540 100644
--- a/db-prefs.php
+++ b/db-prefs.php
@@ -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) {