]> git.mxchange.org Git - mailer.git/commitdiff
Fixes for parser errors
authorquix0r <quix0r@mxchange.org>
Tue, 22 Jan 2013 23:31:44 +0000 (23:31 +0000)
committerquix0r <quix0r@mxchange.org>
Tue, 22 Jan 2013 23:31:44 +0000 (23:31 +0000)
inc/modules/admin/what-del_email.php
inc/modules/member/what-mydata.php
inc/modules/order.php
inc/pool/pool-user.php

index f367fb9a017e9b13b08f374de965d080375cfad6..5be5c0aea76f87e9019df20388fe500254f5b097 100644 (file)
@@ -49,7 +49,7 @@ $count = '0';
 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) {
index cd8b867b062104a37af44c86f6fddc81f6888a60..9b5d43178883bf33eab428f449fe9db1e4d5864f 100644 (file)
@@ -246,7 +246,7 @@ LIMIT 1',
                                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);
index cc880e64eda264cd4d1fd067f7e8a44b572bb160..289e50cd2f505d9226888df3dde829ee9635d7c0 100644 (file)
@@ -69,7 +69,7 @@ if (empty($url)) {
        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'])) {
index 1d074ef580d3fba3cb87981c7be51920251ff484..1e35fec1423c414c054f09fad6390edba59d5c5b 100644 (file)
@@ -243,7 +243,7 @@ if (!SQL_HASZERONUMS($result_main)) {
                                                } // 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",