probeCircles()
with dataProbe
for initiator returns wrong member level.
#1757
Labels
probeCircles()
with dataProbe
for initiator returns wrong member level.
#1757
Using
CirclesManager
like in the following code,$level
is always9
(owner), regardless of the real membership level of the initiator:This is because the built SQL query fetches the row from
oc_circles_memberships
that matches thesingleId
of the user andlevel = 9
(which will always be the entry for the internal user circle):The query results in the following for a user who is simple member (not admin/owner!) of only one circle:
See the
b_h_level
field in the result above. It should be4
in this case, not9
!The text was updated successfully, but these errors were encountered: