When a user tries to delete a user manifest like user-manifest by going at link: admin/people/manifest/user-manifest/delete. They encounter this error because at that moment destination key is not defined in $_GET variable.

| Comment | File | Size | Author |
|---|---|---|---|
| #2 | undefined_index-2731363-2.patch | 957 bytes | xangy |
| Screen Shot 2016-05-23 at 7.12.03 pm.png | 78.24 KB | xangy |
Comments
Comment #2
xangyAdded a patch. In this patch, I checked if destination key exists in $_GET variable or not. If so, is it empty or not?
Comment #3
xangyComment #4
gedur commentedI think it is better to just check with empty():
!empty($_GET['destination']) ? $_GET['destination'] : 'admin/people/manifest',Could you redo the patch to commit it?
Comment #5
gedur commentedI've already done it (the destination doesn't need to be specified as drupal takes it by itself), but I've attributed to you the commit, thanks for your support