Permalink
Browse files

avoid of existing variables during extract

  • Loading branch information...
1 parent fc46c1b commit 11fe557094fa421b71483749657507bb45cd8c83 @lem9 lem9 committed Feb 21, 2008
Showing with 3 additions and 3 deletions.
  1. +1 −1 pmd_relation_new.php
  2. +2 −2 pmd_relation_upd.php
View
2 pmd_relation_new.php
@@ -13,7 +13,7 @@
$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']);
View
4 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);

0 comments on commit 11fe557

Please sign in to comment.