projects
/
tt-rss.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2411bd
)
made db-prefs.php aware of different users
author
Andrew Dolgov
<fox@madoka.spb.ru>
Fri, 18 Nov 2005 06:57:22 +0000
(07:57 +0100)
committer
Andrew Dolgov
<fox@madoka.spb.ru>
Fri, 18 Nov 2005 06:57:22 +0000
(07:57 +0100)
db-prefs.php
patch
|
blob
|
history
diff --git
a/db-prefs.php
b/db-prefs.php
index a2a25d3e50949727251ec342d3508128c47fb9e4..16278c54045db3e5297053b1c623479663be0b67 100644
(file)
--- 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) {