The error happens here: http://drupalcode.org/project/modal_forms.git/blob/HEAD:/modal_forms.pag...

In fact, function login_destination_get_destination returns something like this: array($destination['path'], $options)

The path is the first item, index 'path' does not exist…

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thsutton’s picture

Status: Active » Needs review
FileSize
532 bytes

Patch attached

frjo’s picture

Can someone confirm that this works so I can commit it?

bessone’s picture

Issue summary: View changes

The patch fix the error on my 7.x-1.2

  • Commit c3dd0a3 on 7.x-1.x by frjo:
    Issue #1933816 by thsutton | tito.brasolin: Undefined index: path in...
frjo’s picture

Status: Needs review » Fixed

Committed a variation of this patch to 7-dev. It's a solution that runs in production on another site.

  • Commit cd22f1c on 7.x-1.x by frjo:
    Issue #1933816 by thsutton | tito.brasolin: Undefined index: path in...

Status: Fixed » Closed (fixed)

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