Reviewed & tested by the community
Project:
Private Message Limits
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2011 at 20:44 UTC
Updated:
26 Feb 2011 at 15:54 UTC
The form hook for the privatemsg_new form does not register the form api hook for the submit validate function correctly. Atleast not on the 6.19 version site with privatemsg 6x-1.3
Attached is the patch for function privatemsg_limits_form_privatemsg_new_alter, and the one line change is:
$form['privatemsg']['submit']['#validate'][] = 'privatemsg_limits_form_privatemsg_new_validate';
| Comment | File | Size | Author |
|---|---|---|---|
| privatemsg_limits_submit.patch | 632 bytes | blainelang |
Comments
Comment #1
anantagati commentedWorks good.