Pass input arrays into GetOutputEditoValues() and CheckOutputEditorInput(). We don't want
classes to be hardcoded to read directly from $_REQUEST
This commit is contained in:
@@ -15,7 +15,7 @@ if(!$_SESSION['current']->hasPriv("admin"))
|
||||
$oDistribution = new distribution($aClean['iDistributionId']);
|
||||
if($aClean['sSubmit'])
|
||||
{
|
||||
$oDistribution->GetOutputEditorValues();
|
||||
$oDistribution->GetOutputEditorValues($_REQUEST);
|
||||
|
||||
if($oDistribution->iDistributionId)
|
||||
$oDistribution->update();
|
||||
|
||||
Reference in New Issue
Block a user