| Topic: | Topics are shown regardless of permission |
|---|---|
|
Converted
12 Posts: 0 Posted: |
I'll bet this has already been fixed; in: function photosharePNGetTopics($currentTopic) you should check that the user has access to the topics being returned. For example, change: Code$sql = "SELECT $topicsColumn[tid],to Code$sql = "SELECT $topicsColumn[tid],and later in the same function, change this: Codefor (; !$result->EOF; $result->MoveNext())to Codefor (; !$result->EOF; $result->MoveNext()) |