$img_code = '0';
if (!empty($code)) {
// Generate code
- $img_code = generateRandomCode(getConfig('code_length'), $code, $userId, $urlId);
+ $img_code = generateRandomCode(getCodeLength(), $code, $userId, $urlId);
} // END - if
// @TODO Rewrite this to a filter
$content['type'] = $type;
$content['data'] = $urlId;
$content['banner'] = loadTemplate('mailid_banner', true);
- if (getConfig('code_length') > 0) {
+ if (getCodeLength() > 0) {
// Generate Code
$content['image'] = generateCaptchaCode($code, $type, $urlId, $userId);
$templ = 'mailid_enter_code';