$content['check'] = '';
// @TODO 4 is hard-coded here, should we move it out in config?
- for ($idx = 0; $idx < 4; $idx++) {
+ for ($idx = '0'; $idx < 4; $idx++) {
$content['check'] .= generateRandomCode("8", mt_rand(0, $month.$day), $content['userid'], ($age * ($idx + 1)));
} // END - for