script-solution / Boardsolution

An open-source discussion board written in PHP.
GNU General Public License v2.0
6 stars 0 forks source link

The pm-plain-action doesn't allow 0 (=boardsolution) as sender. #22

Closed hrniels closed 11 years ago

Rafioso commented 11 years ago

The fix may be easy, but how to reproduce this? Guests can't send PMs so i do not know, how and why the sender should get the ID 0.

hrniels commented 11 years ago

As it seems, that feature isn't used anymore. It has been used for sending a PM when a post was reported to be spam or similar and when new links where added to the linklist. The former feature has been removed and the latter is sent by email now. But I think the plain-action should still allow it to make it easy for BS-users to use this mechanism for sending PMs programmatically with a generic sender. So, you can reproduce it by using the class BS_Front_Action_Plain_PM manually.