#3638 closed Defect (fixed)
Remove the required trailing / at the end of get_context()'s page handler check
| Reported by: | brettp | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Elgg 1.7.11 |
| Component: | Core | Version: | 1.7 |
| Severity: | annoying | Keywords: | |
| Cc: | brett@… | Difficulty: | trivial |
Description
It causes /pg/messages to fail to return get_context() == 'messages' which is insanely difficult to track.
Change History (2)
comment:1 Changed 22 months ago by Brett Profitt
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 19 months ago by cash
context is set by using the handler variable rather than using preg_match() so this is not needed for 1.8
Note: See
TracTickets for help on using
tickets.

Fixes #3638. get_context() returns 'messages' for pg/messages and pg/messages/