- $content['sw'] = $SW;
- $content['link'] = ADMIN_USER_PROFILE_LINK($content['userid']);
- $content['primera_amount'] = TRANSLATE_COMMA($content['primera_amount']);
- $content['primera_timestamp'] = MAKE_DATETIME($content['primera_timestamp'], "2");
- $content['raw_type'] = strtolower($content['primera_type']);
- $content['primera_type'] = PRIMERA_TRANSFER_STATUS($content['primera_type']);
+ $content['primera_timestamp'] = generateDateTime($content['primera_timestamp'], 2);
+
+ // Fix empty message and status
+ if (empty($content['primera_api_status'])) {
+ // Needs to be fixed to 'OK'
+ $content['primera_api_status'] = 'OK';
+ } // END - if