#257 Forum Permission Bug (PHP error on $perm)

Stable
open
nobody
General (114)
5
2012-11-15
2007-11-22
No

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.

Discussion