From d02156b6de4553ff259bf1b68d7fcc4d19289197 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 19 Jul 2003 11:50:36 +0000 Subject: [PATCH] path disclosure --- tbl_addfield.php3 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tbl_addfield.php3 b/tbl_addfield.php3 index 08d6fa432..d0772b921 100755 --- a/tbl_addfield.php3 +++ b/tbl_addfield.php3 @@ -10,6 +10,9 @@ require('./libraries/grab_globals.lib.php3'); $js_to_run = 'functions.js'; require('./header.inc.php3'); +// Check parameters +PMA_checkParameters(array('db', 'table')); + /** * Defines the url to return to in case of error in a sql statement