Commit 6621fb16 authored by wundo's avatar wundo

Fixed #75693, thanks imagine.

parent 4b613e5c
......@@ -38,7 +38,7 @@ function captcha_settings() {
foreach($roles as $role) {
$varsuffix = strtr($role,' ','_') .'_captcha';
$form[$varsuffix] = array('#type' => 'fieldset', '#title' => t('Captcha Points for the role '. $role), '#collapsible' => TRUE, '#collapsed' => TRUE);
$form[$varsuffix] = array('#type' => 'fieldset', '#title' => t('Captcha Points for the role %role', array('%role' => $role)), '#collapsible' => TRUE, '#collapsed' => TRUE);
foreach($captcha_points as $captcha_point=>$captcha_point_description) {
$varname = $captcha_point .'_'. $varsuffix;
$form[$varsuffix][$varname] = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment