Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.3] Params: $root-page not correct #1272

Closed
jensscherbl opened this issue Apr 25, 2012 · 1 comment
Closed

[2.3] Params: $root-page not correct #1272

jensscherbl opened this issue Apr 25, 2012 · 1 comment
Assignees
Milestone

Comments

@jensscherbl
Copy link
Member

The $root-page param contains the current page's handle (identical to $current-page) instead of the correct root page handle.

  • Freshly pulled integration-branch
  • PHP 5.3.6
@jensscherbl
Copy link
Member Author

Here's a quick fix, I hope this doesn't break something else I didn't consider:

/symphony/lib/toolkit/class.frontendpage.php, line 315:

$root_page = ($page['path'] !== null) ? array_shift(explode('/', $page['path'])) : $page['handle'];

@ghost ghost assigned brendo Apr 27, 2012
@brendo brendo closed this as completed in 96bbc3c Apr 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants