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
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().

AttachmentSize
pathauto_17.patch1005 bytes

#1

Rob Loach - September 27, 2007 - 11:34
Status:active» patch (code needs review)

#2

greggles - September 27, 2007 - 13:03
Status:patch (code needs review)» fixed

Thanks for finding this and providing a patch!

I tested it, it worked great, and it's now committed.

#3

Anonymous - October 11, 2007 - 13:11
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.