From 50d6fbe1d72a796cfc63c0c58d509e9d5af57368 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 21 Feb 2008 17:42:07 +0000 Subject: [PATCH] avoid of existing variables during extract --- pmd_relation_new.php | 2 +- pmd_relation_upd.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pmd_relation_new.php b/pmd_relation_new.php index 2f2cf96f9..27c171813 100644 --- a/pmd_relation_new.php +++ b/pmd_relation_new.php @@ -13,7 +13,7 @@ include_once 'pmd_common.php'; $die_save_pos = 0; include_once 'pmd_save_pos.php'; require_once './libraries/relation.lib.php'; -extract($_POST); +extract($_POST, EXTR_SKIP); $tables = PMA_DBI_get_tables_full($db, $T1); $type_T1 = strtoupper($tables[$T1]['ENGINE']); diff --git a/pmd_relation_upd.php b/pmd_relation_upd.php index c7baf450a..d7c29fc24 100644 --- a/pmd_relation_upd.php +++ b/pmd_relation_upd.php @@ -11,8 +11,8 @@ */ include_once 'pmd_common.php'; require_once './libraries/relation.lib.php'; -extract($_POST); -extract($_GET); +extract($_POST, EXTR_SKIP); +extract($_GET, EXTR_SKIP); $die_save_pos = 0; include_once 'pmd_save_pos.php'; list($DB1,$T1) = explode(".",$T1);