From: Andrew Dolgov Date: Fri, 18 Nov 2005 06:57:22 +0000 (+0100) Subject: made db-prefs.php aware of different users X-Git-Tag: schema_feature_freeze_for_1.1~238 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8c7bbd2d4e35c4186d94661b3205d4523f84b558;p=tt-rss.git made db-prefs.php aware of different users --- diff --git a/db-prefs.php b/db-prefs.php index a2a25d3e..16278c54 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) {