From: Roland Häder Date: Thu, 5 Nov 2009 14:24:22 +0000 (+0000) Subject: Fixes for rallye (again) and missing array element X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=8f617bc837759be6135e061625c0708efd17df8f;ds=sidebyside Fixes for rallye (again) and missing array element --- diff --git a/inc/functions.php b/inc/functions.php index 827cdb9fd2..aa83e13b74 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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(); diff --git a/inc/modules/admin/what-config_rallye_prices.php b/inc/modules/admin/what-config_rallye_prices.php index f21bad00b3..63030d3181 100644 --- a/inc/modules/admin/what-config_rallye_prices.php +++ b/inc/modules/admin/what-config_rallye_prices.php @@ -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