Closed (fixed)
Project:
Token
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2010 at 02:50 UTC
Updated:
22 Dec 2010 at 16:30 UTC
token_requirements() initialize the value of the local variable $t, but in one case the code calls directly t().
if ($duplicate_tokens = token_find_duplicate_tokens()) {
foreach ($duplicate_tokens as $token => $modules) {
$duplicate_tokens[$token] = t('@token (defined by modules: @modules)', array('@token' => $token, '@modules' => implode(', ', $modules)));
}
// ...
}
Comments
Comment #1
dave reidCommitted to CVS. Thanks Kiam!
http://drupal.org/cvs?commit=461310
http://drupal.org/cvs?commit=461312