I'm getting two php warnings when I use this module:
# notice: Undefined index: operation in /Applications/MAMP/htdocs/drupal6/sites/all/modules/activity/activity.module on line 1433.
# notice: Undefined variable: info in /Applications/MAMP/htdocs/drupal6/sites/all/modules/activity/views-view-row-activity.tpl.php on line 12.
The attached patch fixes these.
Cheers,
Stella
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | activity_undefined_msg.patch | 2.63 KB | stella |
| activity_undefined_msg.patch | 1.38 KB | stella |
Comments
Comment #1
stella commentedComment #2
sirkitree commentedthank you, committed.
Comment #4
Anonymous (not verified) commentedThis patch introduced a big problem. If there's no 'mark' then the activity message is never displayed.
See what I mean?
Comment #5
drewish commentedyeah i think that something like this would be better:
or
Comment #6
Anonymous (not verified) commentedIt's a theme function, so I think the most "basic" syntax and expression is preferred so themers can comprehend the goings on without a headache. For me, that means the first option. I don't understand the second one myself.
I'm at Drupalcon now, but I can roll a patch in a few days if nobody else does.
Comment #7
sirkitree commentedclosing. 1.x no longer supported.