]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/order.php
Added more config wrappers
[mailer.git] / inc / modules / order.php
index 915500d4d7aba0bf78abef0429f65ad1d269ac77..68509930dbf9633d25a8fa1653d185468dc545da 100644 (file)
@@ -77,7 +77,7 @@ if (empty($url)) {
        if (!SQL_HASZEROAFFECTED()) {
                // @TODO Unused: 2,4
                // Load mail again...              0         1          2             3            4         5       6            7
-               $result = SQL_QUERY_ESC("SELECT `subject`,`text`,`receivers`,`payment_id`,`timestamp`,`url`,`cat_id`,`target_send` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s AND `sender`=%s LIMIT 1",
+               $result = SQL_QUERY_ESC("SELECT `subject`, `text`, `receivers`, `payment_id`, `timestamp`, `url`, `cat_id`, `target_send` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s AND `sender`=%s LIMIT 1",
                        array(
                                bigintval(getRequestElement('order')),
                                getMemberId()
@@ -91,7 +91,7 @@ if (empty($url)) {
 
                // Fix empty subject line
                if (empty($content['subject'])) {
-                       $content['subject'] = '{--DEFAULT_SUBJECT_LINE--}';
+                       $content['subject'] = '{--DEFAULT_SUBJECT--}';
                } // END - if
 
                // Calculate used points