If flag_friend_message_form() is rendered without a destination, the following warning appears:
Notice: Undefined index: destination in flag_friend_message_form() (line 378 of /path/to/drupal/sites/all/modules/flag_friend/flag_friend.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1099768-no_destination.patch | 1001 bytes | shawn dearmond |
Comments
Comment #1
shawn dearmond commentedPatch attached.
Comment #2
sirkitree commentedCommitted, thank you! http://drupalcode.org/project/flag_friend.git/commitdiff/9988c1f58002ff4...
As a side note, wondering how you came across this one.
Also, when creating your patches it would help me out if you could use the
--relativeparameter.Comment #3
shawn dearmond commentedI came across it because when I was building #1099756: Create tests, the test was posting to forms without the "?destination=..." and I was getting all kinds of exceptions.