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). =>

Comments

yrocq’s picture

Here is a patch to fix the problem. It just checks if $form_state['values']['op'] is not empty before checking it content.

yrocq’s picture

yrocq’s picture

Status: Active » Needs review
mikran’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
StatusFileSize
new1013 bytes

Patch in #2 solves the problem but the bug exists in 2.x too. Here is the patch for 2.x.

mikran’s picture

Status: Needs review » Reviewed & tested by the community
berdir’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, commited.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.