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 fa48e37790ac32a46d893636d6d138919a4e3a6c..9104ffb2d49749d2296970b10b56eeb574b27de0 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 dec329d0e747d7e35614f644d56fc6e20d687d88..38ae7595f088fd2ad529288bd355349add8a9663 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'];