From 4c71d8b2153150726f423cf854254d84629126c4 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Fri, 10 Jun 2005 13:18:29 +0000 Subject: [PATCH] Added missing optional_param() --- files/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/index.php b/files/index.php index 0f318af3eaa..8bca37bd103 100644 --- a/files/index.php +++ b/files/index.php @@ -17,7 +17,8 @@ $name = optional_param('name', '', PARAM_FILE); $oldname = optional_param('oldname', '', PARAM_FILE); $choose = optional_param('choose', '', PARAM_CLEAN); - + $userfile= optional_param('userfile','',PARAM_FILE); + $save = optional_param( 'save','' ); if ($choose) { if (count(explode('.', $choose)) != 2) {