Posted by eltermann on October 4, 2012 at 8:59pm
8 followers
| Project: | Webform |
| Version: | 7.x-4.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | eltermann |
| Status: | reviewed & tested by the community |
Issue Summary
Just found this user_access('access own webform results', $account) with $account not defined.
Patch attached.
| Attachment | Size |
|---|---|
| 0001-Removing-undefined-and-unnecessary-variable.patch | 927 bytes |
Comments
#1
Patch applies cleanly.
The breadcrumb still functions properly for users with the
'access own webform results'permission.#2
patch solves the problem
#3
Confirmed again. +1
#4
Can we also fix another problem with the same function, involving cases where $breadcrumb starts off empty? Webform was adding an empty breadcrumb item.
#5
Worked for me too.
#6
@pjcdawkins, that is out of scope for this particular issue. Please file a different issue.
OP's patch is RTBC.
#7
work for me.