Fix for fatal errors
authorRoland Häder <roland@mxchange.org>
Wed, 25 Nov 2009 20:31:01 +0000 (20:31 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 25 Nov 2009 20:31:01 +0000 (20:31 +0000)
inc/modules/admin/what-config_rallye_prices.php
inc/modules/member/what-points.php

index fa48e37..9104ffb 100644 (file)
@@ -150,7 +150,7 @@ LIMIT 1",
                        loadTemplate('admin_config_rallye_edit', false, $content);
                } else {
                        // Nothing selected
-                       $content = '{--RALLYE_NO_PRICES_SELECTED_1--}<a href="{%url=modules.php?module=admin&amp;what=config_rallye_prices&amp;rallye=' . getRequestElement('rallye') . '%}">{--RALLYE_NO_PRICES_SELECTED_2--}</a>{--RALLYE_NO_PRICES_SELECTED_3--}');
+                       $content = '{--RALLYE_NO_PRICES_SELECTED_1--}<a href="{%url=modules.php?module=admin&amp;what=config_rallye_prices&amp;rallye=' . getRequestElement('rallye') . '%}">{--RALLYE_NO_PRICES_SELECTED_2--}</a>{--RALLYE_NO_PRICES_SELECTED_3--}';
                        loadTemplate('admin_settings_saved', false, $content);
                }
        } elseif (isPostRequestElementSet('del')) {
index dec329d..38ae759 100644 (file)
@@ -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'];