When calling token_update_token_text() from token.install to update Drupal 6 style tokens, the text remains Drupal 6 style tokens. This is because there is one closing bracket too much in the regex that is used to match the tokens.

Patch will follow.

#1 strings-d6-tokens-update-fix-1438512-1.patch628 bytesMegaChriz
PASSED: [[SimpleTest]]: [MySQL] 307 pass(es).
[ View ]


MegaChriz’s picture

Status:Active» Needs review
new628 bytes
PASSED: [[SimpleTest]]: [MySQL] 307 pass(es).
[ View ]

The attached patch removes the extra closing bracket.

Dave Reid’s picture

Version:7.x-1.0-rc1» 7.x-1.x-dev
Status:Needs review» Fixed

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.