I get notices
notice: Undefined index: group in /Users/clemens/Sites/drupal/d6/sites/default/modules/annotate/views/annotate_handler_field_note.inc on line 37.
notice: Undefined variable: values in /Users/clemens/Sites/drupal/d6/sites/default/modules/annotate/views/annotate_handler_field_note.inc on line 37.
for line $this->query->add_where($this->options['group'], $where, $values);
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | annotations-1264214-1.patch | 555 bytes | franskuipers |
Comments
Comment #1
clemens.tolboomAccording to http://views.doc.logrus.com/ add_where has 2 arguments: $group, $clause
It then shifts arguments of and tests for more arguments.
So I guess we can remove $values.
But why is it nagging about
Comment #2
franskuipers commentedwhat is your version of views?
Comment #3
franskuipers commentedAlso in http://views.doc.logrus.com/classviews__query.html#88733d15379fa820cc588... :
Removed non existing $values and $group = 0
Patch against branch master.
Comment #4
franskuipers commentedComment #5
clemens.tolboomThanks ... the patch looks ok to me!
I'll retest and the move on to D7 I hope :-)
Comment #6
clemens.tolboomThanks for reporting, reviewing, and testing! Committed to all branches.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Committed