made db-prefs.php aware of different users

This commit is contained in:
Andrew Dolgov 2005-11-18 07:57:22 +01:00
parent a2411bd9d9
commit 8c7bbd2d4e
1 changed files with 1 additions and 0 deletions

View File

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