From: Roland Häder Date: Wed, 25 Nov 2009 20:31:01 +0000 (+0000) Subject: Fix for fatal errors X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b8ef341c9d2b5d587d74ba5b097d32b89419d6a;p=mailer.git Fix for fatal errors --- diff --git a/inc/modules/admin/what-config_rallye_prices.php b/inc/modules/admin/what-config_rallye_prices.php index fa48e37790..9104ffb2d4 100644 --- a/inc/modules/admin/what-config_rallye_prices.php +++ b/inc/modules/admin/what-config_rallye_prices.php @@ -150,7 +150,7 @@ LIMIT 1", loadTemplate('admin_config_rallye_edit', false, $content); } else { // Nothing selected - $content = '{--RALLYE_NO_PRICES_SELECTED_1--}{--RALLYE_NO_PRICES_SELECTED_2--}{--RALLYE_NO_PRICES_SELECTED_3--}'); + $content = '{--RALLYE_NO_PRICES_SELECTED_1--}{--RALLYE_NO_PRICES_SELECTED_2--}{--RALLYE_NO_PRICES_SELECTED_3--}'; loadTemplate('admin_settings_saved', false, $content); } } elseif (isPostRequestElementSet('del')) { diff --git a/inc/modules/member/what-points.php b/inc/modules/member/what-points.php index dec329d0e7..38ae7595f0 100644 --- a/inc/modules/member/what-points.php +++ b/inc/modules/member/what-points.php @@ -85,7 +85,7 @@ while ($data = SQL_FETCHARRAY($result_depths)) { // Do we have an entry? if (SQL_NUMROWS($result_points) == 1) { // Load data - $content = merge_array($content, SQL_FETCHARRAY($result_points); + $content = merge_array($content, SQL_FETCHARRAY($result_points)); // Add both points $totalPoints += $content['points'];