Error when a user disables notifications

Thank you very much @asmecher
I will apply the commit for the time being and waiting for the new OJS version.
By the way, did you take a look at Email footer discussion threads -> Reply to this comment at: You don't currently have access to that stage of the workflow - #2 by sbir
Regards
Carlos