mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Code cleanup: proper usage of the ReadParam function.
SVN:trunk[814]
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user