Code cleanup: proper usage of the ReadParam function.

SVN:trunk[814]
This commit is contained in:
Denis Flaven
2010-09-10 14:11:30 +00:00
parent 3cc9d99aca
commit f120e21e00
5 changed files with 26 additions and 25 deletions

View File

@@ -815,7 +815,7 @@ EOF
*/
function SelectOptions(WebPage $oPage)
{
$sOperation = utils::ReadParam('operation', 'csv_data', 'post');
$sOperation = utils::ReadParam('operation', 'csv_data');
$sCSVData = '';
switch($sOperation)
{
@@ -828,7 +828,7 @@ EOF
break;
default:
$sCSVData = utils::ReadParam('csvdata', '', 'post');
$sCSVData = utils::ReadPostedParam('csvdata', '');
}
$sEncoding = utils::ReadParam('encoding', 'UTF-8');