Just like the title says I tried to use the privatemsg_message_change_recipient in the privatemsg API and got a strange error.

Fatal error: Call to undefined function condition() in sites\all\modules\contrib\privatemsg\privatemsg.module on line 2599

(Missing a dash)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scottm316’s picture

dgtlmoon’s picture

Status: Active » Needs review

I'm surprised this isnt picked up as a code error, but actually it applies- rerolled patch

dgtlmoon’s picture

scottm316’s picture

What exactly is "re-rolled" here? I don't think anything is getting added to the module I would just suggest modifying your own module/website.

dgtlmoon’s picture

Status: Needs review » Fixed

Relax, I'm just trying to help, I got some offset notices when I applied your patch - your patch is a year old so I thought it would be good to check it again even tho the test bot does. Just being thorough.

dgtlmoon’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev

  • dgtlmoon committed 87333c6 on 7.x-2.x
    Issue #2250099 by Unable to remove recipients using...

Status: Fixed » Needs review
Berdir’s picture

Title: Unable to remove recipients using privatemsg_message_change_recipient » Needs tests: Unable to remove recipients using privatemsg_message_change_recipient
Category: Bug report » Task
Status: Needs review » Active
Issue tags: +Needs tests

Also committed to 7.x-1.x, keeping open as a task to write tests.

  • Berdir committed 26c0443 on 7.x-1.x authored by dgtlmoon
    Issue #2250099 by Unable to remove recipients using...
ivnish’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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