Incorrect Use of t()
Rob Loach - September 27, 2007 - 11:24
| Project: | Pathauto |
| Version: | 5.x-2.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
When you edit a node and it says that it's automatically generating the path, it refers you to the Pathauto settings. The call to t() isn't used right, as the link doesn't work with clean URLs, and points you to the wrong place if your Drupal installation isn't on the root directory.
The provided patch replaces the path to admin/settings/pathauto with a correct call to url().
| Attachment | Size |
|---|---|
| pathauto_17.patch | 1005 bytes |

#1
#2
Thanks for finding this and providing a patch!
I tested it, it worked great, and it's now committed.
#3