]> git.mxchange.org Git - mailer.git/commitdiff
Fixes for rallye (again) and missing array element
authorRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 14:24:22 +0000 (14:24 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 14:24:22 +0000 (14:24 +0000)
inc/functions.php
inc/modules/admin/what-config_rallye_prices.php

index 827cdb9fd2063583fedc16e80ce39cdd700fe381..aa83e13b74f36e95470fa7f484916cfe7cad024e 100644 (file)
@@ -43,6 +43,9 @@ if (!defined('__SECURITY')) {
 
 // Output HTML code directly or 'render' it. You addionally switch the new-line character off
 function outputHtml ($htmlCode, $newLine = true) {
+       // Init output
+       if (!isset($GLOBALS['output'])) $GLOBALS['output'] = '';
+
        // Transfer username
        $username = getMessage('USERNAME_UNKNOWN');
        if (isset($GLOBALS['username'])) $username = getUsername();
index f21bad00b33d7e39aa4dc7eef2c6c3fbc043c6e0..63030d31811b9510976cf93098aec98ad6261917 100644 (file)
@@ -97,8 +97,8 @@ VALUES ('%s','%s','%s','%s')",
        `{?_MYSQL_PREFIX?}_rallye_prices`
 SET
        `rallye_id`=%s,
-       `price_`level``='%s',
-       `points`='%s',
+       `price_level`=%d,
+       `points`=%s,
        `info`='%s'
 WHERE
        `id`=%s