Skip to content

Commit

Permalink
MDL-22060 fixed $a in string to match new rules
Browse files Browse the repository at this point in the history
AMOS START
 REM fixed $a[] in [auth_fcconnfail,auth_fc]
AMOS END
  • Loading branch information
skodak committed Apr 11, 2010
1 parent 2c10db3 commit dc5498a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auth/fc/fcFPP.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function open()
$conn = fsockopen($host, $port, $errno, $errstr, 5);
if (!$conn)
{
print_error('auth_fcconnfail','auth_fc', '', array($errno, $errstr));
print_error('auth_fcconnfail','auth_fc', '', array('no'=>$errno, 'str'=>$errstr));
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion auth/fc/lang/en/auth_fc.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

$string['auth_fcconnfail'] = 'Connection failed with Errno: {$a}[0] and Error String: {$a}[1]';
$string['auth_fcconnfail'] = 'Connection failed with Errno: {$a->no} and Error String: {$a->str}';
$string['auth_fccreators'] = 'List of groups whose members are allowed to create new courses. Separate multiple groups with \';\'. Names must be spelled exactly as on FirstClass server. System is case-sensitive.';
$string['auth_fccreators_key'] = 'Creators';
$string['auth_fcdescription'] = 'This method uses a FirstClass server to check whether a given username and password is valid.';
Expand Down

0 comments on commit dc5498a

Please sign in to comment.