From 8c7bbd2d4e35c4186d94661b3205d4523f84b558 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 18 Nov 2005 07:57:22 +0100 Subject: [PATCH] made db-prefs.php aware of different users --- db-prefs.php | 1 + 1 file changed, 1 insertion(+) 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) {