Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-14129 Fix dongsheng's fixes and make dongsheng happy :)

  • Loading branch information...
commit b6398eb44bd6e69e7040917c4ea3d0091da62f8a 1 parent 50a12c8
ethem authored
View
2  enrol/authorize/enrol.php
@@ -92,7 +92,7 @@ public function print_entry($course)
break;
}
if (!empty($authorizeerror)) {
- print_error('authorizeerror');
+ print_error('authorizeerror', 'enrol_authorize', '', $authorizeerror);
}
}
$frmenrol->display();
View
2  enrol/authorize/index.php
@@ -14,7 +14,7 @@
/// Get course
if (! $course = $DB->get_record('course', array('id'=>$courseid))) {
- print_error('invaliduserid');
+ print_error('invalidcourseid', '', '', $courseid);
}
/// Only SITE users can access to this page
View
3  lang/en_utf8/enrol_authorize.php
@@ -1,4 +1,4 @@
-<?PHP // $Id$
+<?PHP // $Id$
// enrol_authorize.php - created with Moodle 2.0 dev (2007101508)
@@ -56,6 +56,7 @@
$string['authorize:managepayments'] = 'Manage payments';
$string['authorize:uploadcsv'] = 'Upload CSV file';
$string['authorizedpendingcapture'] = 'Authorized / Pending Capture';
+$string['authorizeerror'] = 'Authorize.net Error: $a';
$string['avsa'] = 'Address (street) matches, postal code does not';
$string['avsb'] = 'Address information not provided';
$string['avse'] = 'Address Verification System Error';
Please sign in to comment.
Something went wrong with that request. Please try again.