PHP notices on user/* when user has nothing in their activity stream
eojthebrave - July 26, 2008 - 20:13
| Project: | Activity Stream |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | akalsey |
| Status: | closed |
Jump to:
Description
notice: Undefined variable: items in /public_html/sites/all/modules/activitystream/activitystream.module on line 270.
When viewing user/* when activity stream has no activities to show the $items array is never created. Patch initializes the $items array regardless of wether or not it has content.
Let me know if it's easier for me to just roll all of these fixes into one patch.
| Attachment | Size |
|---|---|
| actvitystream-php_notices_no_items.patch | 719 bytes |

#1
Patch ported to 5.x and commited
#2
Applied to 6.x
#3