// Set default email
$content['email'] = getMessage('SPONSOR_NO_ADMIN');
- if ($content['admin_id'] > '0') {
+ if ($content['admin_id'] > 0) {
// Load admin's email address for contact
$content['email'] = getAdminEmail($content['admin_id']);
} // END - if
$data = array(
'admin_id' => $content['email'],
'order' => ($content['pay_count'] * $content['pay_rate'])." ".$content['pay_currency'],
- 'stamp' => generateDateTime($content['pay_ordered'], '2'),
+ 'stamp' => generateDateTime($content['pay_ordered'], 2),
'pname' => $content['pay_name'],
);
'family' => $content['family'],
'email' => generateEmailLink($content['email'], 'sponsor_data'),
'remote' => $content['remote_addr'],
- 'created' => generateDateTime($content['sponsor_created'], '2'),
+ 'created' => generateDateTime($content['sponsor_created'], 2),
);
// Load row template and switch colors