made db-prefs.php aware of different users
This commit is contained in:
parent
a2411bd9d9
commit
8c7bbd2d4e
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue