From 75062a410999a290b18fe181370139b37a160eb5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 26 Jul 2009 20:20:00 +0000 Subject: [PATCH] Fix for the fix... :( --- inc/libs/register_functions.php | 2 +- inc/modules/admin/what-config_points.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/libs/register_functions.php b/inc/libs/register_functions.php index 19f26b4ef1..91cd13f633 100644 --- a/inc/libs/register_functions.php +++ b/inc/libs/register_functions.php @@ -133,7 +133,7 @@ function registerGenerateCategoryTable ($mode, $return=false) { // Is the array element not set? if (!REQUEST_ISSET_POST('cat', $content['id'])) { // Then set it - REQUEST_SET_POST('cat' => array($content['id'] => '')); + REQUEST_SET_POST('cat', array($content['id'] => '')); } // END - if // Prepare array for the template diff --git a/inc/modules/admin/what-config_points.php b/inc/modules/admin/what-config_points.php index 0fd1f0b3a1..51aef758e7 100644 --- a/inc/modules/admin/what-config_points.php +++ b/inc/modules/admin/what-config_points.php @@ -93,7 +93,7 @@ if (isFormSent()) { $id = bigintval($id); // Revert german commata - REQUEST_SET_POST('perc' => array($id => convertCommaToDot(REQUEST_POST('perc', $id)))); + REQUEST_SET_POST('perc', array($id => convertCommaToDot(REQUEST_POST('perc', $id)))); // Update entry SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_refdepths` SET level='%s', percents='%s' WHERE `id`=%s LIMIT 1", -- 2.30.2