diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-03-24 19:07:50 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-03-24 19:07:50 +0100 |
commit | 30f84b3ca3242f00926f30c08ece4405be8b61fc (patch) | |
tree | 23717c92ca89f306845d02521d61257d38ad4b3a /src/SemanticScuttle/Service | |
parent | 3f57237b88688f956add02bc18cd4642082fb526 (diff) | |
download | semanticscuttle-30f84b3ca3242f00926f30c08ece4405be8b61fc.tar.gz semanticscuttle-30f84b3ca3242f00926f30c08ece4405be8b61fc.tar.bz2 |
fix privacy protection issue when fetching tags of several users
Diffstat (limited to 'src/SemanticScuttle/Service')
-rw-r--r-- | src/SemanticScuttle/Service/Bookmark2Tag.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/Service/Bookmark2Tag.php b/src/SemanticScuttle/Service/Bookmark2Tag.php index b69cfd4..21ea0d5 100644 --- a/src/SemanticScuttle/Service/Bookmark2Tag.php +++ b/src/SemanticScuttle/Service/Bookmark2Tag.php @@ -565,7 +565,7 @@ class SemanticScuttle_Service_Bookmark2Tag extends SemanticScuttle_DbService $query .= ' OR B.uId = ' . $this->db->sql_escape($u) . ' AND B.bId = T.bId'; } - $query .= ' )'; + $query .= ' )' . $privacy; } else { $query .= ' B.uId = ' . $this->db->sql_escape($user) . ' AND B.bId = T.bId' . $privacy; |