Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Reassign value of the field

edited October 2010 in Vanilla 2.0 - 2.8
I need to reassign the value of field 'Body' in the plug-in method

How can I do this?


  • I used to do this in AfterSaveDiscussion, but I think there is no difference...

    ArrayValue('Body',$Sender->EventArguments['Fields'], 0); should give you the Body. If not, try AfterSaveDiscussion.

  • edited October 2010
    Thanks, but I solved the problem:
    $Sender->EventArguments['FormPostValues']['Body'] = 'Default';
Sign In or Register to comment.