[Fusionforge-commits] r8931 - branches/Branch_5_0/gforge/www/admin
Alain Peyrat
aljeux at libremir.placard.fr.eu.org
Wed Mar 3 23:06:37 CET 2010
Author: aljeux
Date: 2010-03-03 23:06:37 +0100 (Wed, 03 Mar 2010)
New Revision: 8931
Modified:
branches/Branch_5_0/gforge/www/admin/admin_table.php
Log:
Fix admin edit pages (like editing a theme) by changing $HTTP_POST_VARS to $_POST
Modified: branches/Branch_5_0/gforge/www/admin/admin_table.php
===================================================================
--- branches/Branch_5_0/gforge/www/admin/admin_table.php 2010-03-03 21:34:15 UTC (rev 8930)
+++ branches/Branch_5_0/gforge/www/admin/admin_table.php 2010-03-03 22:06:37 UTC (rev 8931)
@@ -219,12 +219,12 @@
* @param $id - the id of the record to act on
*/
function admin_table_postedit($table, $unit, $primary_key, $id) {
- global $HTTP_POST_VARS;
+ global $_POST;
$qpa = db_construct_qpa (false, 'UPDATE ' . $table . ' SET ') ;
$i = 0 ;
- while (list($var, $val) = each($HTTP_POST_VARS)) {
+ while (list($var, $val) = each($_POST)) {
if ($i > 0) {
$qpa = db_construct_qpa ($qpa, ', ') ;
}
More information about the Fusionforge-commits
mailing list