MinuteElectron writes:
Hello,
Sorry for the repeat post, but I've uncovered further problems with the userCan hook.
For some reason it is passing the $action parameter as 'move' or 'edit' (the hook is run several times per a request) when it is 'read' -- this in itself makes no sense to me, on top of the failure of execution experienced before.
Is this intentional?
Thanks, MinuteElectron.
It is for displaying (or not displaying) tabs, I think. Try to dump traceback. --VasilievVV