summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Green2008-02-16 14:10:03 (GMT)
committer Doug Green2008-02-16 14:10:03 (GMT)
commit1a54de7688142302e0fd2e3567a133449f412228 (patch)
treeb504b149d67f76cf5c13102a78f70a093c380354
parentbe510700ec71f981fe327e9f7a5116a49e360aee (diff)
#221432 by sun - fix token url replacement in one of the rule messages
-rw-r--r--includes/coder_6x.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/coder_6x.inc b/includes/coder_6x.inc
index eb66aa4..3be3812 100644
--- a/includes/coder_6x.inc
+++ b/includes/coder_6x.inc
@@ -455,7 +455,7 @@ function _coder_6x_callback(&$coder_args, $review, $rule, $lines, &$results) {
foreach ($lines as $lineno => $line) {
if (preg_match('/^dependencies\s*=/', $line)) {
$severity_name = _coder_severity_name($coder_args, $review, $rule);
- $warning = t('New syntax for <a href="!uri">.info files</a>, use dependencies[]', array('uri' => 'http://drupal.org/node/114774#info'));
+ $warning = t('New syntax for <a href="!uri">.info files</a>, use dependencies[]', array('!uri' => 'http://drupal.org/node/114774#info'));
$results[-1] = theme('coder_warning', $warning, $severity_name, $lineno, $line);
}
if (preg_match('/^core\s*=/', $line)) {
@@ -464,7 +464,7 @@ function _coder_6x_callback(&$coder_args, $review, $rule, $lines, &$results) {
}
if (!isset($core)) {
$severity_name = _coder_severity_name($coder_args, $review, $rule);
- $warning = t('New syntax for <a href="!uri">.info files</a> files requires core=6.x', array('uri' => 'http://drupal.org/node/114774#info'));
+ $warning = t('New syntax for <a href="!uri">.info files</a> files requires core=6.x', array('!uri' => 'http://drupal.org/node/114774#info'));
$results[-1] = theme('coder_warning', $warning, $severity_name, $lineno, $line);
}
}