Just found this user_access('access own webform results', $account) with $account not defined.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | webform-1803808-4.patch | 983 bytes | pjcdawkins |
| 0001-Removing-undefined-and-unnecessary-variable.patch | 927 bytes | eltermann |
Comments
Comment #1
bxtaylor commentedPatch applies cleanly.
The breadcrumb still functions properly for users with the
'access own webform results'permission.Comment #2
karl qin commentedpatch solves the problem
Comment #3
shawn dearmond commentedConfirmed again. +1
Comment #4
pjcdawkins commentedCan we also fix another problem with the same function, involving cases where $breadcrumb starts off empty? Webform was adding an empty breadcrumb item.
Comment #5
froboyWorked for me too.
Comment #6
shawn dearmond commented@pjcdawkins, that is out of scope for this particular issue. Please file a different issue.
OP's patch is RTBC.
Comment #7
jerenus commentedwork for me.
Comment #8
quicksketchThanks guys! Committed to D7 3.x and 4.x branches. Doesn't seem to affect 6.x-3.x.
Comment #9
quicksketchBTW I included @pjcdawkins's patch in #4, as it didn't do any harm that I could see.
Comment #10
pjcdawkins commentedThanks
Comment #12
tigertrussell commentedDid this not make it into the latest version of Webform? I see a patch marked RTBC in Oct 2012... it's 2014 now and the lines of the patch don't match up, so I can only assume that this is a different version... yet the patch isn't applied.