In submitForm() there is this piece of code:
if ($des == '') {
$des = $op;
} else {
$des = $op . ': ' . $des;
}
The variable "$des" is not defined so it can not have a value.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3055839-7.patch | 791 bytes | rpayanm |
| #5 | 3055839-5.patch | 646 bytes | rpayanm |
Comments
Comment #2
Ice-D commentedComment #3
pcambraWould you be up to create a patch for this? :)
Comment #4
pcambraComment #5
rpayanmI removed this piece of code, because the $des var is not use.
Comment #6
pcambraGood catch, but then $op seems also unused a few lines above.
Comment #7
rpayanmUps :)
Comment #9
neslee canil pintoCommitted Thanks.
Comment #10
neslee canil pintoComment #11
pcambraYou should have added attribution as described in https://www.drupal.org/node/1146430