#3688 closed Defect (fixed)
Calling elgg_view() from a pagesetup event handler causes stack overflow
| Reported by: | cash | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Elgg 1.8.1b |
| Component: | Core | Version: | Github Master |
| Severity: | minor | Keywords: | |
| Cc: | brett@… | Difficulty: | trivial |
Description
The global flag about the page setup event in elgg_view() should be set before it triggers the event.
Change History (3)
comment:1 Changed 21 months ago by cash
- Milestone changed from Needs Review to Elgg 1.8.1b
comment:2 Changed 21 months ago by Cash Costello
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 19 months ago by Cash Costello
Fixes #3688 setting the page setup variable in $CONFIG before trigger the event to prevent a stack overflow
Changeset: 03a14b636d9787c3fdd90301433fc51721d541f5
Note: See
TracTickets for help on using
tickets.

Fixes #3688 setting the page setup variable in $CONFIG before trigger the event to prevent a stack overflow