Forum Permission Bug (PHP error on $perm)
Brought to you by:
ajdonnison,
kchisholm
I detected an error in dotproject/modules/forums/post_message.php
The php Error message is: "Fatal error: Cannot use object of type dPacl as array in /var/www_ssl/dotproject/modules/forums/post_message.php on line 163"
It occours if i try to edit a message, but i am not admin user nor message owner.
The error message above is showed instead of the "submit" button.
The attached patch file patches against dotproject/modules/forums/post_message.php of dotProject 2.1.1 and solves the problem.
Thank you very much.
Patch file that fixes this issue