From a14d4b587ae7cf3b6793cf33537d17db4541acc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 22 Jan 2013 23:31:44 +0000 Subject: [PATCH] Fixes for parser errors --- inc/modules/admin/what-del_email.php | 2 +- inc/modules/member/what-mydata.php | 2 +- inc/modules/order.php | 2 +- inc/pool/pool-user.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/modules/admin/what-del_email.php b/inc/modules/admin/what-del_email.php index f367fb9a01..5be5c0aea7 100644 --- a/inc/modules/admin/what-del_email.php +++ b/inc/modules/admin/what-del_email.php @@ -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) { diff --git a/inc/modules/member/what-mydata.php b/inc/modules/member/what-mydata.php index cd8b867b06..9b5d431788 100644 --- a/inc/modules/member/what-mydata.php +++ b/inc/modules/member/what-mydata.php @@ -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); diff --git a/inc/modules/order.php b/inc/modules/order.php index cc880e64ed..289e50cd2f 100644 --- a/inc/modules/order.php +++ b/inc/modules/order.php @@ -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'])) { diff --git a/inc/pool/pool-user.php b/inc/pool/pool-user.php index 1d074ef580..1e35fec142 100644 --- a/inc/pool/pool-user.php +++ b/inc/pool/pool-user.php @@ -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", -- 2.39.5