Add a couple of brackets to flush out a minor code change that has been sitting for a while.
This commit is contained in:
@@ -55,7 +55,9 @@ if($aClean['bIsRejected'] == 'true')
|
|||||||
$oObject->bIsRejected = true;
|
$oObject->bIsRejected = true;
|
||||||
$oObject->bIsQueue = true;
|
$oObject->bIsQueue = true;
|
||||||
} else
|
} else
|
||||||
|
{
|
||||||
$oObject->bIsRejected = false;
|
$oObject->bIsRejected = false;
|
||||||
|
}
|
||||||
|
|
||||||
$oObject->oMultiPage->getDataFromInput($aClean);
|
$oObject->oMultiPage->getDataFromInput($aClean);
|
||||||
|
|
||||||
@@ -67,7 +69,9 @@ $oOtherObject = new $oObject->sClass($oObject->iId);
|
|||||||
$sErrors = $oObject->processForm($aClean);
|
$sErrors = $oObject->processForm($aClean);
|
||||||
|
|
||||||
if($oObject->iId && $aClean['sAction'] == "delete")
|
if($oObject->iId && $aClean['sAction'] == "delete")
|
||||||
|
{
|
||||||
$oObject->delete_entry();
|
$oObject->delete_entry();
|
||||||
|
}
|
||||||
|
|
||||||
if(isset($aClean['sAction']) && $aClean['sAction'] == "add")
|
if(isset($aClean['sAction']) && $aClean['sAction'] == "add")
|
||||||
$oObject->handle_anonymous_submission();
|
$oObject->handle_anonymous_submission();
|
||||||
|
|||||||
Reference in New Issue
Block a user