if ((isPostRequestElementSet('id')) && (isGetRequestElementSet('type')) && (postRequestElement('type') == 'normal')) {
// Load email data
// @TODO Unused: cat_id
- $content getPoolDataFromId(getRequestElement('id'));
+ $content = getPoolDataFromId(getRequestElement('id'));
// Delete mail only once
if (count($content) > 0) {
if (postRequestElement('email') != $content['email']) {
// Yes, but is it maybe blacklisted?
$filterData = array(
- 'init_done' => TRUE
+ 'init_done' => TRUE,
'post_data' => postRequestArray()
);
$filterData = runFilterChain('pre_update_user_data', $filterData);
if (!updatePoolDataById(getRequestElement('order'), 'data_type', $type, NULL, sprintf(" AND `sender`=%s AND `data_type`='TEMP'", getMemberId()))) {
// Merge array with pool data
// @TODO Unused: timestamp
- $content = merge_array($content, getPoolDataFromId(getRequestElement('order'));
+ $content = merge_array($content, getPoolDataFromId(getRequestElement('order')));
// Fix empty subject line
if (empty($content['subject'])) {
} // END - if
// Set status to SEND because we completely send it away
- updatePoolDataById($mailData['id'], NULL, array('data_type' => 'SEND', 'target_send' => '0', 'receivers' => '');
+ updatePoolDataById($mailData['id'], NULL, array('data_type' => 'SEND', 'target_send' => '0', 'receivers' => ''));
// Update send-completed-time
SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_stats` SET `timestamp_send`=UNIX_TIMESTAMP() WHERE `pool_id`=%s LIMIT 1",