Posted by leafish_paul on December 22, 2005 at 7:35pm
Jump to:
| Project: | Drupal core |
| Component: | node system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
A minor thing, but if a site has a different front page other than '/node', a user is still redirected to '/node' after deleting a node. Attached diff (apologies for it not being a correct patch - still ironing out my new Linux setup) fixes this by checking the site_frontpage variable, and falling back to 'node' if its not set.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| node_with_proper_redirect.diff | 377 bytes | Ignored: Check issue status. | None | None |
Comments
#1
If you want to redirect the user to the front page you can simply use
drupal_goto()(no arguments).I made that change and committed it to HEAD. Please test and mark this fixed.
#2
Cheers.
#3