diff --git a/enrol/authorize/action.php b/enrol/authorize/action.php
index 80d8b525d41..9bc0bffdc5a 100644
--- a/enrol/authorize/action.php
+++ b/enrol/authorize/action.php
@@ -1,7 +1,7 @@
an_avs)) {
$avs = "avs" . strtolower($response[5]);
$stravs = get_string($avs, "enrol_authorize");
- $message .= "
" . get_string("avsresult", "enrol_authorize") . $stravs;
+ $message .= "
" . get_string("avsresult", "enrol_authorize", $stravs);
}
return false;
}
diff --git a/lang/en_utf8/enrol_authorize.php b/lang/en_utf8/enrol_authorize.php
index df78fff20e2..a3eb50354d2 100644
--- a/lang/en_utf8/enrol_authorize.php
+++ b/lang/en_utf8/enrol_authorize.php
@@ -49,7 +49,7 @@ $string['avsg'] = 'Non-U.S. Card Issuing Bank';
$string['avsn'] = 'No match on address (street) nor postal code';
$string['avsp'] = 'Address Verification System not applicable';
$string['avsr'] = 'Retry - System unavailable or timed out';
-$string['avsresult'] = 'AVS Result:';
+$string['avsresult'] = 'AVS Result: $a';
$string['avss'] = 'Service not supported by issuer';
$string['avsu'] = 'Address information is unavailable';
$string['avsw'] = '9 digit postal code matches, address (street) does not';