When a user chooses an action in the select box on messages list, a javascript popup appears with the warning :
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /plateformedrupal/system/ajax
StatusText: OK
ResponseText: Notice: Undefined index: op in privatemsg_list_submit() (line 236 of /home/yann/projets/dev/plateformedrupal/html/sites/all/modules/privatemsg/privatemsg.pages.inc). =>
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | undefined_op_2.x-1554832-4.patch | 1013 bytes | mikran |
| #2 | privatemsg-actionWarning-1554832-5937764.patch | 891 bytes | yrocq |
Comments
Comment #1
yrocq commentedHere is a patch to fix the problem. It just checks if $form_state['values']['op'] is not empty before checking it content.
Comment #2
yrocq commentedComment #3
yrocq commentedComment #4
mikran commentedPatch in #2 solves the problem but the bug exists in 2.x too. Here is the patch for 2.x.
Comment #5
mikran commentedComment #6
berdirThanks, commited.